{"$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":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"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":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"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":"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":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"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":"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":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"send.startSSE::processSSEItem (cyclomatic 133): send.startSSE::processSSEItem has cyclomatic complexity 133 (threshold 15). To reduce it, separate the cases: extract each independent 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 (send.startSSE) 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":"channel/web/static/js/chat/send.js"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"5840dd4741e511f54f6b2f1c643c3e15eb021051f4c7b2bab74d56e15f5b291a"}},{"ruleId":"D1","level":"warning","message":{"text":"chatStore.useChatStore.attachStream (cyclomatic 122): chatStore.useChatStore.attachStream has cyclomatic complexity 122 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 76 belong to 23 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":"desktop/src/renderer/src/store/chatStore.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1560e31c62694578fcff4f63b439b2161a9b7d65e9cf7d591f4bb6f178aee2"}},{"ruleId":"D1","level":"warning","message":{"text":"KnowledgePage.KnowledgePage (cyclomatic 113): KnowledgePage.KnowledgePage has cyclomatic complexity 113 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 87 belong to 31 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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4c8c1418c4da8bdee3e318aaf03fdb83a762ce0b998c608b83186f1fa7b0b4"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatPage.ChatPage (cyclomatic 99): ChatPage.ChatPage has cyclomatic complexity 99 (threshold 15). Most of this is not in the body itself: 7 of the 99 points are its own statements and the rest belongs to 27 function literals inside it that branch (lines 406, 196, 286, \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":"desktop/src/renderer/src/pages/ChatPage.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"549b77862aea673a25e17ec709bfe55f46398a2a44694f995aa8127cb7215551"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentStreamExecutor._call_llm_stream (cyclomatic 96): AgentStreamExecutor._call_llm_stream 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":"agent/protocol/agent_stream.py"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"615c2e7b8fd26417c8b5ef2dcf05cc3fe09e419053417eb4be8f4d2d2f7ff950"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillsPage.SkillsPage (cyclomatic 84): SkillsPage.SkillsPage has cyclomatic complexity 84 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 38 belong to 20 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":"desktop/src/renderer/src/pages/SkillsPage.tsx"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d05dee89c355153c1b512e03e0073a9063b723f070653f14f80f63a725173a"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentBridge.agent_reply (cyclomatic 82): AgentBridge.agent_reply has cyclomatic complexity 82 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_bridge.py"},"region":{"startLine":1510}}}],"partialFingerprints":{"codehealthFindingId/v1":"149ec9fc99c0e394699feb610995b20691c1f143088e58259a5ad5093b196c72"}},{"ruleId":"D1","level":"warning","message":{"text":"QrScanPanel.QrScanPanel (cyclomatic 82): QrScanPanel.QrScanPanel has cyclomatic complexity 82 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 64 belong to 13 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/QrScanPanel.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"904a994805e19e7f8516fb5d2b0684b7049b4c9bf8db096f12d224caf08e0f45"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentStreamExecutor.run_stream (cyclomatic 79): AgentStreamExecutor.run_stream 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":"agent/protocol/agent_stream.py"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dddb79a42a5543c11431878d317a4e383192f34e6c225968759a8c8a2e9cce8"}},{"ruleId":"D1","level":"warning","message":{"text":"Godcmd.on_handle_context (cyclomatic 76): Godcmd.on_handle_context has cyclomatic complexity 76 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/godcmd/godcmd.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"45fce7cc512de7e8859a21ff9c6c81f946de6ad1644b4ed3a7cf16f778ae292b"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillAddModal.SkillAddModal (cyclomatic 76): SkillAddModal.SkillAddModal has cyclomatic complexity 76 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 37 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":"desktop/src/renderer/src/pages/skills/SkillAddModal.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9f2bbd6fcdb821bc51a1f336497950bc8085e959f6efae65a3b7bbdc3fd08f"}},{"ruleId":"D1","level":"warning","message":{"text":"workspaceStore.useWorkspaceStore (cyclomatic 72): workspaceStore.useWorkspaceStore has cyclomatic complexity 72 (threshold 15). Most of this is not in the body itself: 1 of the 72 points is its own statement and the rest belongs to 18 function literals inside it that branch (lines 406, 220, 350, \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":"desktop/src/renderer/src/store/workspaceStore.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65254916b1ff54ad3fadf19223d3c28890c431444d2ba8428e15786313e1494"}},{"ruleId":"D1","level":"warning","message":{"text":"loadHistory (cyclomatic 71): loadHistory has cyclomatic complexity 71 (threshold 15). Most of this is not in the body itself: 5 of the 71 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 797, a function literal at line 833, a function literal at line 877, \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":"channel/web/static/js/chat/render.js"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba7432afdc54b19916c7bee5cf963ad289e9e87c5fc26cd86edf5ee582c51ca"}},{"ruleId":"D1","level":"warning","message":{"text":"saveTaskEdit (cyclomatic 70): saveTaskEdit has cyclomatic complexity 70 (threshold 15). Of this number, 62 points are the body\u0027s own statements and 8 belong to 17 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":"channel/web/static/js/views/tasks-modal.js"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"d629c2fad2ec7732a6a45abe0423f7f85e6b2be0de2eb8580403f96b5f179e8b"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionList.SessionList (cyclomatic 68): SessionList.SessionList has cyclomatic complexity 68 (threshold 15). Most of this is not in the body itself: 12 of the 68 points are its own statements and the rest belongs to 20 function items inside it that branch (a function literal at line 360, a function literal at line 469, newChatInSpace, \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":"desktop/src/renderer/src/layout/SessionList.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"af27795202a5a4b08e48738f7c095edd9ed988d09d08027ca37eda246c5b6f6c"}},{"ruleId":"D1","level":"warning","message":{"text":"ChannelsPage.ChannelCard (cyclomatic 66): ChannelsPage.ChannelCard has cyclomatic complexity 66 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 28 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":"desktop/src/renderer/src/pages/ChannelsPage.tsx"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"11032ddca31a0d5e3bef5275a436d00137b3ad13e54f66692a63e43d3fd3d2bb"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App (cyclomatic 65): App.App has cyclomatic complexity 65 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 34 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":"desktop/src/renderer/src/App.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2a9ba30fef689a125313ac593644329fe28f3c411a9682afe2d63a2898d7ed"}},{"ruleId":"D1","level":"warning","message":{"text":"GoogleGeminiBot.call_with_tools (cyclomatic 64): GoogleGeminiBot.call_with_tools has cyclomatic complexity 64 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/gemini/google_gemini_bot.py"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c820eac735a00da9d6a07fadaed0e405470a830c55dae858927a54fc1ed0610"}},{"ruleId":"D1","level":"warning","message":{"text":"ArtifactsPage.ArtifactsPage (cyclomatic 63): ArtifactsPage.ArtifactsPage has cyclomatic complexity 63 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 43 belong to 18 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":"desktop/src/renderer/src/pages/ArtifactsPage.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72f808fe3dc0e810d628d26430a87ef4fc5c1e634abfc9258f614c5ed3e9cb0"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageBubble.MessageBubble (cyclomatic 62): MessageBubble.MessageBubble has cyclomatic complexity 62 (threshold 15). Of this number, 52 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":"desktop/src/renderer/src/components/MessageBubble.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5fef260169bc290b03d5df108087d938cbdb09a43901aa1a3fa1a2b101b54ed"}},{"ruleId":"D1","level":"warning","message":{"text":"FeishuMessage.__init__ (cyclomatic 61): FeishuMessage.__init__ has cyclomatic complexity 61 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_message.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a03e4d09ca471a8cec49dbbe9167fb2e0f0e705a642ad3330a415daf86b48ff"}},{"ruleId":"D1","level":"warning","message":{"text":"Bash.execute (cyclomatic 60): Bash.execute 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":"agent/tools/bash/bash.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc429aa75dd17e06fcd80c4e9399c11b4b8bdc6c83366b25a40ff4b06f4eb31"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelsHandler._search_provider_key (cyclomatic 59): ModelsHandler._search_provider_key has cyclomatic complexity 59 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/models.py"},"region":{"startLine":1510}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b7f26f2b955932fdb0cf8746fb743ff615a0403504db424861200184d7f285"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation_store._group_into_display_turns (cyclomatic 58): conversation_store._group_into_display_turns has cyclomatic complexity 58 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"91afd1938e89ccb31752d21718db1ab2808269bff7d95f9cd5d55da09ca6e4ef"}},{"ruleId":"D1","level":"warning","message":{"text":"NavRail.NavRail (cyclomatic 54): NavRail.NavRail has cyclomatic complexity 54 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 27 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":"desktop/src/renderer/src/layout/NavRail.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41714ba733e08fec2b3585bbff26b9011a6eca1c521713db8e8997d8b893355"}},{"ruleId":"D1","level":"warning","message":{"text":"KnowledgeGraph.KnowledgeGraph (cyclomatic 54): KnowledgeGraph.KnowledgeGraph has cyclomatic complexity 54 (threshold 15). Most of this is not in the body itself: 2 of the 54 points are its own statements and the rest belongs to 26 function items inside it that branch (a function literal at line 209, a function literal at line 100, 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":"desktop/src/renderer/src/components/KnowledgeGraph.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"108acc90bf42a8a8e24357e6afe9c14f328678d4473735302062c196884520cd"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatTimeline.ChatTimeline (cyclomatic 53): ChatTimeline.ChatTimeline has cyclomatic complexity 53 (threshold 15). Most of this is not in the body itself: 5 of the 53 points are its own statements and the rest belongs to 19 function literals inside it that branch (lines 308, 107, 174, \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":"desktop/src/renderer/src/components/ChatTimeline.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71323c8d2a71234da5f0dd15349165bac0baf3dcb60c4a931cdf5180345a1c4"}},{"ruleId":"D1","level":"warning","message":{"text":"WechatMPChannel.send (cyclomatic 52): WechatMPChannel.send has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/wechatmp/wechatmp_channel.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b727126ae3200c94901675922c09d467159c0ef19321d2c0801b2efdcd62e5f9"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeAPIBot._stream_once (cyclomatic 52): ClaudeAPIBot._stream_once has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/claudeapi/claude_api_bot.py"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d5cc455cb05872e0853b3fef2a665d123c041d578f40353884023deee3edcb"}},{"ruleId":"D1","level":"warning","message":{"text":"IntegrationsTab.IntegrationsTab (cyclomatic 52): IntegrationsTab.IntegrationsTab has cyclomatic complexity 52 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 28 belong to 9 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":"desktop/src/renderer/src/pages/settings/IntegrationsTab.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf19e9f1ccd2244ab12cc5173bc4effa522a459a7fc1ed1f12d0584f7c2adf0"}},{"ruleId":"D1","level":"warning","message":{"text":"McpEditorModal.McpEditorModal (cyclomatic 52): McpEditorModal.McpEditorModal has cyclomatic complexity 52 (threshold 15). Most of this is not in the body itself: 14 of the 52 points are its own statements and the rest belongs to 8 function items inside it that branch (switchTab, save, 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":"desktop/src/renderer/src/pages/skills/McpEditorModal.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d167af99e1989a9c7e56345f3766a38a2a996771a96990fd5c6ca014df0ae63"}},{"ruleId":"D1","level":"warning","message":{"text":"policy.meet (cyclomatic 51): policy.meet 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":"agent/guest/policy.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"e596c9ee36f9a074276b66171096c2c290b78aca27ccfda5a19f2be08dcebc65"}},{"ruleId":"D1","level":"warning","message":{"text":"inbound.serve_invoke (cyclomatic 51): inbound.serve_invoke has cyclomatic complexity 51 (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":"agent/multiagent/inbound.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"560549a23ed6e8471fbc4cec4e789a4958a54cd83d160ae55a5f2f8ce2d06b2d"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextUsagePopover.ContextUsagePopover (cyclomatic 51): ContextUsagePopover.ContextUsagePopover has cyclomatic complexity 51 (threshold 15). Most of this is not in the body itself: 15 of the 51 points are its own statements and the rest belongs to 15 function items inside it that branch (doCompact, onBtnClick, a function literal at line 90, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/ContextUsagePopover.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31a84f6738abf5d54260278eea99c945e774773f5763749dbe255e55bb75d38"}},{"ruleId":"D1","level":"warning","message":{"text":"profile.normalize_config (cyclomatic 50): profile.normalize_config 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":"agent/guest/profile.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea0fc02865063468fe9fe7515a5e886d842012350be0f2c75614155e2e0b8dc"}},{"ruleId":"D1","level":"warning","message":{"text":"DingTalkChanel.send (cyclomatic 49): DingTalkChanel.send 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":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e53da22b1e7151f9fa84ba8038a99122417e14dd996ab233b91f91b1bf8439"}},{"ruleId":"D1","level":"warning","message":{"text":"docEditorStore.createDocEditorStore.store (cyclomatic 48): docEditorStore.createDocEditorStore.store has cyclomatic complexity 48 (threshold 15). Most of this is not in the body itself: 1 of the 48 points is its own statement and the rest belongs to 11 function literals inside it that branch (lines 231, 186, 152, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/docEditorStore.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"362f1c03a9df1c2dd460a87476614da33b3803661efbbe583db4e2c15ea91230"}},{"ruleId":"D1","level":"warning","message":{"text":"BasicSettings.BasicSettings (cyclomatic 47): BasicSettings.BasicSettings has cyclomatic complexity 47 (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 (BasicSettings.BasicSettings::loadConfig) 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":"desktop/src/renderer/src/pages/settings/BasicSettings.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af9272e429bfda7c2331996d207aeb1262b7f13176957640a604ac221ce6831"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryManager.sync (cyclomatic 46): MemoryManager.sync has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/manager.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"087c6a2eba4f8267b81113d184653ba34f42091cbf5246853ea1388e93f6cf2d"}},{"ruleId":"D1","level":"warning","message":{"text":"models.renderCapabilityBody (cyclomatic 46): models.renderCapabilityBody has cyclomatic complexity 46 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"9429454875b88245524910da129592d980535676d49129998b939a50f46d292d"}},{"ruleId":"D1","level":"warning","message":{"text":"sessionStore.useSessionStore (cyclomatic 46): sessionStore.useSessionStore 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 17 function literals inside it that branch (lines 288, 143, 235, \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":"desktop/src/renderer/src/store/sessionStore.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"164c914a2d3a7df643362b0323ab2640a0255dd1e749f99b7f9b2d8ed36d13a1"}},{"ruleId":"D1","level":"warning","message":{"text":"skill._install_hub (cyclomatic 45): skill._install_hub 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":"cli/commands/skill.py"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"87cf5a589a7a1fbd7c36d5d2fb3d762b7257d63ad132b048248a942358a585d0"}},{"ruleId":"D1","level":"warning","message":{"text":"CapabilityCard.CapabilityCard (cyclomatic 45): CapabilityCard.CapabilityCard has cyclomatic complexity 45 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 27 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":"desktop/src/renderer/src/pages/settings/CapabilityCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa38a283beb78c89f1b276b8f11054790cae18426a1209bdfc7c1993d0f5013"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatService.run (cyclomatic 43): ChatService.run has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/chat/service.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d327a53f776aec761033b2ab9cdc08b2ba4f5622ea45f05cffe8c6ddb84e262c"}},{"ruleId":"D1","level":"warning","message":{"text":"artifact.collect_message_artifacts (cyclomatic 43): artifact.collect_message_artifacts has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/artifact.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"a637a1fa4b1a07c8dbf9163020349ede3aadbe5d4e7055bb47065e666e54cae9"}},{"ruleId":"D1","level":"warning","message":{"text":"render.createBotMessageEl (cyclomatic 43): render.createBotMessageEl has cyclomatic complexity 43 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/render.js"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0aaedbaf42bae716e563f6d385e2c86ff73c67734b7d86c4bd9177ecbc41c9"}},{"ruleId":"D1","level":"warning","message":{"text":"TasksPage.TaskEditModal (cyclomatic 43): TasksPage.TaskEditModal has cyclomatic complexity 43 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 23 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":"desktop/src/renderer/src/pages/TasksPage.tsx"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7829c15e534061e9df8b1697cc2e634f7012d466a570913c517d462b997c914"}},{"ruleId":"D1","level":"warning","message":{"text":"Bridge.__init__ (cyclomatic 42): Bridge.__init__ 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":"bridge/bridge.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e42dbe76f62c74636e9eda8c46bea0904af44d3a4601dc9423c36a33d183480"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatChannel._compose_context (cyclomatic 42): ChatChannel._compose_context 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":"channel/chat_channel.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecec410256b0cca0a78c3da6a810206f38da4d13077f57a5211312f749034cfa"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelsTab.VendorModal (cyclomatic 42): ModelsTab.VendorModal has cyclomatic complexity 42 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 22 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":"desktop/src/renderer/src/pages/settings/ModelsTab.tsx"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e359fe7e745c513d0ea0b406a81fbb7fd4ae2c857bd6df1b1057cf609844fe"}},{"ruleId":"D1","level":"warning","message":{"text":"sessions._session_model_catalog (cyclomatic 41): sessions._session_model_catalog has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/sessions.py"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73a70a634e5d56528e5d11b5a60f352ae0a982792cc7b325ec080e6b0ec5e6c"}},{"ruleId":"D1","level":"warning","message":{"text":"Query.POST (cyclomatic 41): Query.POST has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/wechatmp/passive_reply.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe8e85f827859863e47b509881a255a86de951ec74787e3ed015bab1dd2bdd1"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelScopeBot._handle_stream_response (cyclomatic 41): ModelScopeBot._handle_stream_response has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/modelscope/modelscope_bot.py"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"106b2e38da87bf3a916e6061e758c7cec285e89e1c3fbd76fd9326d0a3f85fc1"}},{"ruleId":"D1","level":"warning","message":{"text":"knowledge.openKnowledgeDialog (cyclomatic 41): knowledge.openKnowledgeDialog has cyclomatic complexity 41 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 17 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":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dfea29095cbe0cac0e67d360a771507cb7d8cfa319c72bacfdc90923e870040"}},{"ruleId":"D1","level":"warning","message":{"text":"loadTasksView (cyclomatic 41): loadTasksView has cyclomatic complexity 41 (threshold 15). Most of this is not in the body itself: 3 of the 41 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 427, 410, 498, \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":"channel/web/static/js/views/tasks.js"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db447ec1693965452aad1ceccbc401acc18a011edd181ee4a53a7b040216df9"}},{"ruleId":"D1","level":"warning","message":{"text":"models.openSearchKeyModal (cyclomatic 40): models.openSearchKeyModal 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cca33b1b60e9c92974b2cc8c71fb0c4b1198362380227a0a3927d69ed4df787"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspacePanel.WorkspacePanel (cyclomatic 40): WorkspacePanel.WorkspacePanel has cyclomatic complexity 40 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 12 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":"desktop/src/renderer/src/components/WorkspacePanel.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"39132265addb831fc0fe944cd4cecedebfc8ae05afd9b8f5cb153fe8938cf886"}},{"ruleId":"D1","level":"warning","message":{"text":"WebSearch._search_anysearch (cyclomatic 39): WebSearch._search_anysearch has cyclomatic complexity 39 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/web_search/web_search.py"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2aeb1cf1d230039b8c5378e80ec849607e26af7228dcfe571f55eb6b54dd42"}},{"ruleId":"D1","level":"warning","message":{"text":"FeiShuChanel._handle_message_event (cyclomatic 39): FeiShuChanel._handle_message_event has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bb274fd6c3bdd03b409bc4a0cee3c217be61f0acf427e8b9596daf09fd1765"}},{"ruleId":"D1","level":"warning","message":{"text":"ShareEditor.ShareEditor::save (cyclomatic 39): ShareEditor.ShareEditor::save has cyclomatic complexity 39 (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 (ShareEditor.ShareEditor, ShareEditor.ShareEditor::fill) 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":"desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6ccc11961b02644fb3d0cd9b952201e9d4479bbf5da90c5f5aa53f1f4cbe62"}},{"ruleId":"D1","level":"warning","message":{"text":"SchedulerTool._create_task (cyclomatic 38): SchedulerTool._create_task has cyclomatic complexity 38 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/scheduler_tool.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e309b0b7a5b8531a5cf58fb69bbbbd46d69aae214f6e51a3a9fa95fc435959"}},{"ruleId":"D1","level":"warning","message":{"text":"SchedulerUpdateHandler.POST (cyclomatic 38): SchedulerUpdateHandler.POST has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/scheduler.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c118216afff9fae603e7213179ebd2e27c65cf1cd8ea32f2d88c14b635654dc"}},{"ruleId":"D1","level":"warning","message":{"text":"WechatKfChannel.send (cyclomatic 38): WechatKfChannel.send has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/wechat_kf/wechat_kf_channel.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e0c505e98b316121b28ad0f1552f51d193a1d89d032ebe2998c9f64f0b95e3"}},{"ruleId":"D1","level":"warning","message":{"text":"GoogleGeminiBot._handle_gemini_rest_stream_response (cyclomatic 38): GoogleGeminiBot._handle_gemini_rest_stream_response has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/gemini/google_gemini_bot.py"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"887b4c294fc4d0ae9c9df7a70caa9f6cd63c5dca0c039cd0e4131253e9d0c87e"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelSelector.CatalogModelSelector (cyclomatic 38): ModelSelector.CatalogModelSelector has cyclomatic complexity 38 (threshold 15). Of this number, 17 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":"desktop/src/renderer/src/components/ModelSelector.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"604932a2b86b141a9158222b5b7d31abe452b0587f830f6543d1fb4b73a24cd7"}},{"ruleId":"D1","level":"warning","message":{"text":"QQMessage.__init__ (cyclomatic 37): QQMessage.__init__ has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/qq/qq_message.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3090999e681bdba3cec12f04969cfee0e83bb6ce6030770db2d59216a93510c4"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceSelector.WorkspaceSelector (cyclomatic 37): WorkspaceSelector.WorkspaceSelector has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 14 of the 37 points are its own statements and the rest belongs to 10 function items inside it that branch (createProject, a function literal at line 37, selectProject, \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":"desktop/src/renderer/src/components/WorkspaceSelector.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1717920c98dfbd40464fad54f65f8ece44849e5bc15d7a25253b67f44f4e53d"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentsPage.AgentProfilePane (cyclomatic 37): AgentsPage.AgentProfilePane has cyclomatic complexity 37 (threshold 15). 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 items inside it that branch (save, a function literal at line 421, a function literal at line 403, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"374a26fa5bf848d46c6a602ed403a33f171af3188b2e551c5d92056061c47e30"}},{"ruleId":"D1","level":"warning","message":{"text":"ArtifactPreview.ArtifactPreview (cyclomatic 37): ArtifactPreview.ArtifactPreview has cyclomatic complexity 37 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/artifacts/ArtifactPreview.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1b74fc7e2cbb08f72a3ff141f8d8d9faf3b7cb5672ca2735a4fed11fe57cce"}},{"ruleId":"D1","level":"warning","message":{"text":"message_utils.sanitize_claude_messages (cyclomatic 36): message_utils.sanitize_claude_messages has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/message_utils.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39f28e2f88d7b273b638c3267eb342664b85f9bf0b502990390abb368d91702"}},{"ruleId":"D1","level":"warning","message":{"text":"MinimaxBot._handle_stream_response (cyclomatic 36): MinimaxBot._handle_stream_response 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":"models/minimax/minimax_bot.py"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d48d07ba9f513afcf0046a6963e125d62aa6e495477ad53880c472cbffee002"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAICompatibleBot._convert_messages_to_openai_format (cyclomatic 36): OpenAICompatibleBot._convert_messages_to_openai_format 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":"models/openai_compatible_bot.py"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4be1919afeb9f41a1668589117a14590a1d3aca1fe307bf2a722b359e5327d9"}},{"ruleId":"D1","level":"warning","message":{"text":"TasksPage.TasksPage (cyclomatic 36): TasksPage.TasksPage has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 11 of the 36 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 244, a function literal at line 175, runFromCard, \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":"desktop/src/renderer/src/pages/TasksPage.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec548bcd94b2d01803a5a9a6abfb6dee92831a07003da89df72abcc7a1eca7a"}},{"ruleId":"D1","level":"warning","message":{"text":"WebChannel.post_message (cyclomatic 35): WebChannel.post_message 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":"channel/web/core/channel.py"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36a9ffe4afbe9e34868f49b70d12162f4a2bdff6c3cdb91b2f038e7544acc35"}},{"ruleId":"D1","level":"warning","message":{"text":"install.run_install_browser (cyclomatic 35): install.run_install_browser has cyclomatic complexity 35 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/install.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cea36539cca4b6186d6953782afe0535ca78c92d48a74e6c3b3fe3adc53545f"}},{"ruleId":"D1","level":"warning","message":{"text":"guest.startStream::handle (cyclomatic 35): guest.startStream::handle 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":"channel/web/static/guest/guest.js"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"534215ca6ef6c7bf0fd5490d406945fdb0923a348161a39fe2113d150fbf3ce6"}},{"ruleId":"D1","level":"warning","message":{"text":"models.rebuildCapabilityVoiceDropdown (cyclomatic 35): models.rebuildCapabilityVoiceDropdown has cyclomatic complexity 35 (threshold 15). Of this number, 26 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":"channel/web/static/js/views/models.js"},"region":{"startLine":1788}}}],"partialFingerprints":{"codehealthFindingId/v1":"5130ee28e090e433839545a28059f279b2a7c24092f1c706aee9ccfae8dd8c16"}},{"ruleId":"D1","level":"warning","message":{"text":"useBackend.useBackend (cyclomatic 35): useBackend.useBackend has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 1 of the 35 points is its own statement and the rest belongs to 10 function literals inside it that branch (lines 103, 175, 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":"desktop/src/renderer/src/hooks/useBackend.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"4155f255ec196ecdb06be96c13202d467edffddc44ecadff3690aa015e66f104"}},{"ruleId":"D1","level":"warning","message":{"text":"ChannelsPage.ChannelsPage (cyclomatic 35): ChannelsPage.ChannelsPage has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 13 of the 35 points are its own statements and the rest belongs to 11 function items inside it that branch (loadChannels, a function literal at line 146, a function literal at line 154, \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":"desktop/src/renderer/src/pages/ChannelsPage.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb796323f443889bfa43c64c4633131551eb178b45ff2ad554b4e9e33b8d4a6e"}},{"ruleId":"D1","level":"warning","message":{"text":"installContextUsagePopover (cyclomatic 35): installContextUsagePopover has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 3 of the 35 points are its own statements and the rest belongs to 20 function items inside it that branch (a function literal at line 211, _ctxShowCard, a function literal at line 265, \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":"channel/web/static/js/chat/context-usage.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d9dd6cfdd156ecbfcc151e213779db46ecf4ae1328a7bad473c3ef64084373"}},{"ruleId":"D1","level":"warning","message":{"text":"saveShareEditor (cyclomatic 35): saveShareEditor has cyclomatic complexity 35 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 11 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":"channel/web/static/js/views/shares.js"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"442df6ad5c74c404c191b7dc680bd921003a81dcc590bf86928987911835da6e"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentDelegateTool._delegate (cyclomatic 34): AgentDelegateTool._delegate has cyclomatic complexity 34 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/agent_delegate/agent_delegate.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55ae843dcc21823e5b4351862f7a2523b0941ee5867e5bd2b8b343db92794e9"}},{"ruleId":"D1","level":"warning","message":{"text":"DeepSeekBot._convert_messages_to_openai_format (cyclomatic 34): DeepSeekBot._convert_messages_to_openai_format 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"864517d2919232a23c473a616fd04eb70798127b7cc98233e9e1014760124b42"}},{"ruleId":"D1","level":"warning","message":{"text":"MimoBot._convert_messages_to_openai_format (cyclomatic 34): MimoBot._convert_messages_to_openai_format 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":"models/mimo/mimo_bot.py"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfcd079fa64bf6f3d3bcc0a9b2dd5a98706d66fd7814d07477614f71de14242"}},{"ruleId":"D1","level":"warning","message":{"text":"models.rebuildCapabilityModelDropdown (cyclomatic 34): models.rebuildCapabilityModelDropdown has cyclomatic complexity 34 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 14 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":"channel/web/static/js/views/models.js"},"region":{"startLine":1698}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf6b6e3f77cadd68e0526470741c0ce3d64f10625b6237586878a007d9617b5"}},{"ruleId":"D1","level":"warning","message":{"text":"TasksPage.RunDetailModal (cyclomatic 34): TasksPage.RunDetailModal has cyclomatic complexity 34 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/TasksPage.tsx"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"207580d91f8a7e50a1bfb767bcf0bee7ff9ac3d663829e61b214aee4c05e473b"}},{"ruleId":"D1","level":"warning","message":{"text":"initConfigView (cyclomatic 34): initConfigView has cyclomatic complexity 34 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 6 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":"channel/web/static/js/views/config.js"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec7e5ee2a0bc31304c7fe45cfb1623ad5448835e4125bcf76f15866bf044de2"}},{"ruleId":"D1","level":"warning","message":{"text":"models._discover_models (cyclomatic 33): models._discover_models 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":"channel/web/api/models.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe1841c918c30de1935f6ce49286225c44aedd1531e5087ff4e5fb676a3e45e"}},{"ruleId":"D1","level":"warning","message":{"text":"WebChannel.send (cyclomatic 33): WebChannel.send 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":"channel/web/core/channel.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29c196e1cd028fcd000f9943dda48991b09b029ff22ffd703b608ecd362c125"}},{"ruleId":"D1","level":"warning","message":{"text":"CloudClient.on_config (cyclomatic 33): CloudClient.on_config has cyclomatic complexity 33 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/cloud_client.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb3a0e04935563f08e6b56a697396713450e36352c7383381e5c46df04351c9"}},{"ruleId":"D1","level":"warning","message":{"text":"responses_adapter.responses_stream_to_chat_chunks (cyclomatic 33): responses_adapter.responses_stream_to_chat_chunks 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":"models/openai/responses_adapter.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4e0c22eb4fae92c2750201bcaff8c509d5e63293c45a4ed83e3a4601dc8d66"}},{"ruleId":"D1","level":"warning","message":{"text":"composer-input.chatInput.addEventListener(\u0022keydown\u0022) (cyclomatic 33): composer-input.chatInput.addEventListener(\u0022keydown\u0022) 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":"channel/web/static/js/chat/composer-input.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"766b74bf042ba2235de577e915667046b6cb3afdaa0cd54a90fbd631cd44c6c2"}},{"ruleId":"D1","level":"warning","message":{"text":"agentStore.useAgentStore (cyclomatic 33): agentStore.useAgentStore has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 1 of the 33 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 99, 201, 186). 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":"desktop/src/renderer/src/store/agentStore.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd2166a6d9a8d4f145eaa994f58ddb76875abc59ed860a2417397b0dbaeb36e"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 33): (anonymous) 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":"channel/web/static/js/chat/composer-input.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"f152bfdd37e9f273473cecae2bb2eeecd5e120b9885b0e8fb6e3d51270f515e2"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillsHandler.POST (cyclomatic 32): SkillsHandler.POST 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":"channel/web/api/skills.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1bcfe49ddec85c4fcb4455e2eacf42171a66c74dcdcb3599c2c7f6fcf928dd"}},{"ruleId":"D1","level":"warning","message":{"text":"MinimaxBot._convert_messages_to_openai_format (cyclomatic 32): MinimaxBot._convert_messages_to_openai_format 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":"models/minimax/minimax_bot.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df0e5de40a5a07d167c692307ee2832e4e5db86bcb3211d666f25c1134af95e"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelsTab.CustomProviderModal (cyclomatic 32): ModelsTab.CustomProviderModal has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 12 of the 32 points are its own statements and the rest belongs to 4 function items inside it that branch (save, a function literal at line 663, remove, \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":"desktop/src/renderer/src/pages/settings/ModelsTab.tsx"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa87ea289d009959879672021133b30c6a2513cc0657d24d3f6e493e8d1fe41"}},{"ruleId":"D1","level":"warning","message":{"text":"ShareEditor.ShareEditor (cyclomatic 32): ShareEditor.ShareEditor has cyclomatic complexity 32 (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 (ShareEditor.ShareEditor::fill, ShareEditor.ShareEditor::save) 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":"desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8c6fab0d70a8780e65bf8d144ee90a0f5f31b7d72bcfa04c58fd43bbbedf0d"}},{"ruleId":"D1","level":"warning","message":{"text":"Edit._execute_locked (cyclomatic 31): Edit._execute_locked 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":"agent/tools/edit/edit.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b269c60338393d0f8d69e4e600fdc227d08309d453af9db729fec0609e92b2"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentInitializer._restorable_turn (cyclomatic 31): AgentInitializer._restorable_turn 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":"bridge/agent_initializer.py"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d2f5f5d6e6ded0f9387a36d6aa89b4b28ec12bf4c9be43ece8b64bb65a9273"}},{"ruleId":"D1","level":"warning","message":{"text":"channel_instances.upsert_instance (cyclomatic 31): channel_instances.upsert_instance 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":"channel/channel_instances.py"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f335e3b3438080eba0c8162c193840b1524a6cd02c65efc28090273c66fd351"}},{"ruleId":"D1","level":"warning","message":{"text":"FeishuMessage._extract_quoted_text (cyclomatic 31): FeishuMessage._extract_quoted_text 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":"channel/feishu/feishu_message.py"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea848b131f209bc05b196dc1884a85677564fb0525edbf2a46e7f5bb0a9039d3"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelsHandler._handle_discover_models (cyclomatic 31): ModelsHandler._handle_discover_models 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":"channel/web/api/models.py"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a6c90589fbc68a7b3fcca3a2185eda86b8fb3ad0c33cb762d7ce09a60fb5fa"}},{"ruleId":"D1","level":"warning","message":{"text":"themes._ctNormalize (cyclomatic 31): themes._ctNormalize 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":"channel/web/static/js/core/themes.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c28934e105adc42d5124f67a72955c6936370a47678b9226104f4ca09d02ad4"}},{"ruleId":"D1","level":"warning","message":{"text":"themes._ctVars (cyclomatic 31): themes._ctVars has cyclomatic complexity 31 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/themes.js"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f132ef84554fa2ae0134e4f81f220bfe4ba6ac72ed22b2959dc053d968ecdd"}},{"ruleId":"D1","level":"warning","message":{"text":"index.setupIPC (cyclomatic 31): index.setupIPC 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 12 function items inside it that branch (a function literal at line 827, a function literal at line 760, a function literal at line 844, \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":"desktop/src/main/index.ts"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8744d7f4019de2c248d6ee63976d7599465a8947ea36c7d5b157fd3268160f7"}},{"ruleId":"D1","level":"warning","message":{"text":"service.validate_server (cyclomatic 30): service.validate_server has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/mcp/service.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9069bd068821773099d7e55112d7668443e3d324c1f49cdb7b40b9b3477b52"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelsHandler._search_capability (cyclomatic 30): ModelsHandler._search_capability 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":"channel/web/api/models.py"},"region":{"startLine":1565}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3d84131109e6434c20b23f4b6b807614550704e2d1968565c6a815e21668f3"}},{"ruleId":"D1","level":"warning","message":{"text":"state.messagesDiv.addEventListener(\u0022click\u0022) (cyclomatic 30): state.messagesDiv.addEventListener(\u0022click\u0022) has cyclomatic complexity 30 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 10 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":"channel/web/static/js/chat/state.js"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa14a22cd9c3b9b2a7d4fb300def4cc2a1f8effe668ba7e1842c15772941d277"}},{"ruleId":"D1","level":"warning","message":{"text":"knowledge.renderKnowledgeGraph (cyclomatic 30): knowledge.renderKnowledgeGraph has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 2 of the 30 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 1034, a function literal at line 1035, a function literal at line 1061, \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":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"4694ad090ef4981e6c9a9c80f420ff30c3931e91a39e50786cbc3f94dc84e8d1"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageSteps.ToolStep (cyclomatic 30): MessageSteps.ToolStep has cyclomatic complexity 30 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/MessageSteps.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5dc035776dbca28b2468e19b9e577a18362855868552e35abbc4040a3fb9562"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatInput.ChatInput (cyclomatic 30): ChatInput.ChatInput has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (ChatInput.ChatInput::handleKeyDown) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/ChatInput.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f788ffdacf80baa57ef57babd9fb0a253d65a714e95e52bb8321d8fd8bb197"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryPage.MemoryPage (cyclomatic 30): MemoryPage.MemoryPage has cyclomatic complexity 30 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 14 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":"desktop/src/renderer/src/pages/MemoryPage.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"282d0ac91394b167f8b5709b5246effa1fe75fb39fb8482f04f73ea90417424d"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 30): (anonymous) has cyclomatic complexity 30 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 10 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":"channel/web/static/js/chat/state.js"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be3db89f646e80144c0cb2fceecee68876a40c8652f9edcc9eb21f1ef75d152"}},{"ruleId":"D1","level":"warning","message":{"text":"executor.run_evolution_for_session (cyclomatic 29): executor.run_evolution_for_session has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/evolution/executor.py"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb9b4cb91b111d64f7956ecf3c3516855b24330bc04817e9f2b5e6c4af141cc"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentInitializer._load_tools (cyclomatic 29): AgentInitializer._load_tools 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":"bridge/agent_initializer.py"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc1ce69d72c7e1fd126b7ca9e979f84ff9960f933eec72b14b323630ada83db"}},{"ruleId":"D1","level":"warning","message":{"text":"FeiShuChanel.send (cyclomatic 29): FeiShuChanel.send 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":"channel/feishu/feishu_channel.py"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b46a606e2517d76086c6cc1296f3270c0a6eb3032c535143b169ec0c464d64"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigHandler._save_settings (cyclomatic 29): ConfigHandler._save_settings 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":"channel/web/api/config.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06cd0cc9f60d46bae684420a495b505130a2302f4c197c568456449db883ffb"}},{"ruleId":"D1","level":"warning","message":{"text":"backup.restore_backup_archive (cyclomatic 29): backup.restore_backup_archive 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":"cli/commands/backup.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3351a56e8a33e9c1dc9b83a701f6bc1bd9be78596313e63680c71e186a7d1c5"}},{"ruleId":"D1","level":"warning","message":{"text":"shares.shareCardHtml (cyclomatic 29): shares.shareCardHtml 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":"channel/web/static/js/views/shares.js"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"692916a683e1bbfbbbaa523cad8907ce59c5a904a3492f7b423257c260ad9141"}},{"ruleId":"D1","level":"warning","message":{"text":"OnboardingWizard.OnboardingWizard (cyclomatic 29): OnboardingWizard.OnboardingWizard has cyclomatic complexity 29 (threshold 15). Of this number, 19 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":"desktop/src/renderer/src/components/OnboardingWizard.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aaaa01ba84e3d27da284983905a3c84fa829fc968a737505e3ad47d74f64765"}},{"ruleId":"D1","level":"warning","message":{"text":"ChannelTeamSelect.ChannelTeamSelect (cyclomatic 29): ChannelTeamSelect.ChannelTeamSelect has cyclomatic complexity 29 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 10 belong to 6 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/ChannelTeamSelect.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"339866a5a238a703f669d6e426a694f7b1ba04f5008317b18be585272dcf4f45"}},{"ruleId":"D1","level":"warning","message":{"text":"FeishuProgressState.consume (cyclomatic 28): FeishuProgressState.consume 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":"channel/feishu/feishu_progress_card.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"5790400cbaebfe06c6f7dfefd4520672604668e5036bdc68021a23515732a8ad"}},{"ruleId":"D1","level":"warning","message":{"text":"TelegramChannel._on_message (cyclomatic 28): TelegramChannel._on_message 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":"channel/telegram/telegram_channel.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1f9f15d80207a1197f07ba3a80a5f143479a2d8666711c09bf62beb77ff3e9"}},{"ruleId":"D1","level":"warning","message":{"text":"WebChannel.upload_file (cyclomatic 28): WebChannel.upload_file 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":"channel/web/core/channel.py"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"e039dfc1d77905e6418d970f450d84b6510089e765af5ab72160622302cbf491"}},{"ruleId":"D1","level":"warning","message":{"text":"MoonshotBot._handle_stream_response (cyclomatic 28): MoonshotBot._handle_stream_response 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":"models/moonshot/moonshot_bot.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4da2a37f04b95d5cfb2864facc5d672d9720011713d56e4a3c28caf959e6425"}},{"ruleId":"D1","level":"warning","message":{"text":"channels.renderActiveChannels (cyclomatic 28): channels.renderActiveChannels has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 2 of the 28 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 82, 166). 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":"channel/web/static/js/views/channels.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"123d82bad57a6ae37596814a925c0f0e1caf3d7c8706503a6bc2680ddadab289"}},{"ruleId":"D1","level":"warning","message":{"text":"shares._fillShareEditor (cyclomatic 28): shares._fillShareEditor has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/shares.js"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff35ad81207e32ce83efd51c500a27be763b76b3232c5e0b33a969a59672e6a"}},{"ruleId":"D1","level":"warning","message":{"text":"ThemeAddModal.ThemeAddModal (cyclomatic 28): ThemeAddModal.ThemeAddModal has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 8 of the 28 points are its own statements and the rest belongs to 9 function items inside it that branch (runImport, onDrop, askAgent, \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":"desktop/src/renderer/src/components/ThemeAddModal.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"388856c685ef63676b959c06ad463b274d85d4c9d283399883cf20a41db61032"}},{"ruleId":"D1","level":"warning","message":{"text":"FileTree.FileTree (cyclomatic 28): FileTree.FileTree has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 9 of the 28 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 27, 56, 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":"desktop/src/renderer/src/components/FileTree.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"892505bd716717f123b11bbbf875b45aaa2b6087df9b34e84cab4099b4ad54f3"}},{"ruleId":"D1","level":"warning","message":{"text":"KnowledgePage.KnowledgeDialog::submit (cyclomatic 28): KnowledgePage.KnowledgeDialog::submit 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. This shape REPEATS in the file: one other method here (KnowledgePage.KnowledgeDialog) 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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a82dee39a3e35fcd36ce0cc3d8eed4885d0ec6bae403f2117640d9590f68f12"}},{"ruleId":"D1","level":"warning","message":{"text":"TasksPage.RecordsView (cyclomatic 28): TasksPage.RecordsView has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 6 of the 28 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 475, loadMore, loadRuns, \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":"desktop/src/renderer/src/pages/TasksPage.tsx"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4584226340d7f7e9bfd4fa4a40ca8975a852aebf1c1dcaf4aa7146225a1d0a"}},{"ruleId":"D1","level":"warning","message":{"text":"discoverCatalogModels (cyclomatic 28): discoverCatalogModels has cyclomatic complexity 28 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 13 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":"channel/web/static/js/views/models.js"},"region":{"startLine":2694}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe81b7a45da6b314394f2a468505b5fe6cf4d4815a6a3e88974b75537f947f2"}},{"ruleId":"D1","level":"warning","message":{"text":"DiscordChannel._on_message (cyclomatic 27): DiscordChannel._on_message 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":"channel/discord/discord_channel.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"52949d447b5d47d6a026c2dacbc383818b425cd862a681409426c1509017f015"}},{"ruleId":"D1","level":"warning","message":{"text":"IntegrationsHandler.PUT (cyclomatic 27): IntegrationsHandler.PUT has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/integrations.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8bfd80d21eb5361512d0e4d8ea10f89ff78812534adf6a71b17c8c475b936c"}},{"ruleId":"D1","level":"warning","message":{"text":"openai_compat._request_values (cyclomatic 27): openai_compat._request_values has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/openai_compat.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"8326f1058bd9fa2ad3dc0689a0e47875ed2d4012dfd3ae4707ceef4c5611e55c"}},{"ruleId":"D1","level":"warning","message":{"text":"SchedulerCreateHandler.POST (cyclomatic 27): SchedulerCreateHandler.POST has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/scheduler.py"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e69e3c4a2579ec027886e39556c71e382b065d0d0565447916b40b7d70b4ec5"}},{"ruleId":"D1","level":"warning","message":{"text":"config.load_config (cyclomatic 27): config.load_config 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":"config.py"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ac32454b1a17e31afb430cd02cb3307a541c5e9c1f46c7b2f794f25deb6520"}},{"ruleId":"D1","level":"warning","message":{"text":"DeepSeekBot._handle_stream_response (cyclomatic 27): DeepSeekBot._handle_stream_response 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7f480dbe84261ae8e0cc8caabc489f544215b7f789c4c6079cdee756d2dcb6"}},{"ruleId":"D1","level":"warning","message":{"text":"MimoBot._handle_stream_response (cyclomatic 27): MimoBot._handle_stream_response 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":"models/mimo/mimo_bot.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"4821b446ef4e48ff5c37235fdc5c28bf7fea22dda1742d1135e119c17a0a7100"}},{"ruleId":"D1","level":"warning","message":{"text":"MoonshotBot._convert_messages_to_openai_format (cyclomatic 27): MoonshotBot._convert_messages_to_openai_format 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":"models/moonshot/moonshot_bot.py"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bacef427ac084ce17c7b959dc595c0c02ebfe5e1ff28bd3234557ae70a7e271"}},{"ruleId":"D1","level":"warning","message":{"text":"config.onProviderChange (cyclomatic 27): config.onProviderChange has cyclomatic complexity 27 (threshold 15). Of this number, 24 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":"channel/web/static/js/views/config.js"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95e9c55671bf32f79ecd27479b0772531b6c68563d9df66b3d60fc4532084df"}},{"ruleId":"D1","level":"warning","message":{"text":"shares.shareTurnHtml (cyclomatic 27): shares.shareTurnHtml has cyclomatic complexity 27 (threshold 15). Of this number, 23 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":"channel/web/static/js/views/shares.js"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd985db014c4817a727c0e92aff46f406f5baa526e9da5ed845bd2f2b1242c8"}},{"ruleId":"D1","level":"warning","message":{"text":"MentionText.MentionText (cyclomatic 27): MentionText.MentionText has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 2 of the 27 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 36, 26). 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":"desktop/src/renderer/src/components/MentionText.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c569f929ef1bea187e8d15e7106c9e352e2ea970ca37a07c71bb62bb3062998e"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelsTab.TtsCard (cyclomatic 27): ModelsTab.TtsCard has cyclomatic complexity 27 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 8 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/ModelsTab.tsx"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"b966ff7566ea2828004b95a12db4c3de473de4e050de5c8e80e9ec52305829e4"}},{"ruleId":"D1","level":"warning","message":{"text":"setupMicButton (cyclomatic 27): setupMicButton has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 4 of the 27 points are its own statements and the rest belongs to 15 function items inside it that branch (setState, start, start::onstop, \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":"channel/web/static/guest/guest.js"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa21dd76c8520ec1763d6437e4df9c899bbdf9732490019c7634f78a4c496d7"}},{"ruleId":"D1","level":"warning","message":{"text":"integration._execute_skill_call (cyclomatic 26): integration._execute_skill_call 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":"agent/tools/scheduler/integration.py"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5392da77bc95805c361082732b40d23da3a0f316d92e3151310b07cd83bceb5"}},{"ruleId":"D1","level":"warning","message":{"text":"web_search._get_api_key (cyclomatic 26): web_search._get_api_key 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":"agent/tools/web_search/web_search.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d736c045cd27e24fa30debd2a01e17f1af5e978b050fea7721876621a9b7bc"}},{"ruleId":"D1","level":"warning","message":{"text":"WechatComAppChannel.send (cyclomatic 26): WechatComAppChannel.send 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":"channel/wechatcom/wechatcomapp_channel.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"54feb7676b1e68c6728d7419edfeb9bb9612cc6977ea95dd632046947de2a692"}},{"ruleId":"D1","level":"warning","message":{"text":"DoubaoBot._handle_stream_response (cyclomatic 26): DoubaoBot._handle_stream_response 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":"models/doubao/doubao_bot.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bde35cdc734d692c20eba6303ea523ead156ef1b59e5d9bef6be22171524c00"}},{"ruleId":"D1","level":"warning","message":{"text":"LinkAIBot._chat (cyclomatic 26): LinkAIBot._chat 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":"models/linkai/link_ai_bot.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"69aade2957f18f3e423d54a7595489f6ec2191a636cf6471f57e9fad72471bf5"}},{"ruleId":"D1","level":"warning","message":{"text":"reasoning_capabilities.get_reasoning_capability (cyclomatic 26): reasoning_capabilities.get_reasoning_capability 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":"models/reasoning_capabilities.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d0802e6486f9fc3b45077c3a49f2748e4fa9e228fa25af2000f8e345f03c90"}},{"ruleId":"D1","level":"warning","message":{"text":"LinkAI.on_handle_context (cyclomatic 26): LinkAI.on_handle_context 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":"plugins/linkai/linkai.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0496f12c63f5790da942e9770bab8b73a488a1cf271467af74a47789f9288c2f"}},{"ruleId":"D1","level":"warning","message":{"text":"render.renderStepsHtml (cyclomatic 26): render.renderStepsHtml has cyclomatic complexity 26 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/render.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"adacb1ee111f21e38b21eb45b055dcd862b385713193906b07f935cb547e89e4"}},{"ruleId":"D1","level":"warning","message":{"text":"markdown.createMd (cyclomatic 26): markdown.createMd 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 75, 62, 100, \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":"channel/web/static/js/core/markdown.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5704ce8aea3a97844f98ff7a107ab26bb16c5779a5dbe99a23c8d0656bbc3533"}},{"ruleId":"D1","level":"warning","message":{"text":"ShareDialogs.Turn (cyclomatic 26): ShareDialogs.Turn has cyclomatic complexity 26 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/shares/ShareDialogs.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15bceb84b8fd11285f2bc2a1b24b8f814ff953661633cb0abd66cf7b7d3ab85"}},{"ruleId":"D1","level":"warning","message":{"text":"GuestSharesCard.ShareItem (cyclomatic 26): GuestSharesCard.ShareItem has cyclomatic complexity 26 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/shares/GuestSharesCard.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc48ebc3bf6bb691a0fd43b3198589447a6930358f261539e0eb1692fb3ca1b"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentAdminService.update_agent (cyclomatic 25): AgentAdminService.update_agent has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/admin.py"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"518e1ecca9346ca60a102f7251c33c4e5d3b7075a52001f6f1b3d092c2b724e3"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentStreamExecutor._trim_messages (cyclomatic 25): AgentStreamExecutor._trim_messages has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent_stream.py"},"region":{"startLine":2901}}}],"partialFingerprints":{"codehealthFindingId/v1":"982a0246077716de26fc35b60637b44f3a750b60d465e971c003d331eeb19586"}},{"ruleId":"D1","level":"warning","message":{"text":"DingTalkMessage.__init__ (cyclomatic 25): DingTalkMessage.__init__ 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":"channel/dingtalk/dingtalk_message.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a296b38e117eb8e5027391040467a89f8171a5ba53382c68c524f2563106f1c"}},{"ruleId":"D1","level":"warning","message":{"text":"QQChannel._upload_rich_media_chunked (cyclomatic 25): QQChannel._upload_rich_media_chunked 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":"channel/qq/qq_channel.py"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b6432aae461c4819c2ea9ee5e18e56b7bc737a5a240a5ba4b4d3590ab48b67"}},{"ruleId":"D1","level":"warning","message":{"text":"SlackChannel._handle_event (cyclomatic 25): SlackChannel._handle_event 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":"channel/slack/slack_channel.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27ffd3b6e0b343ad68c1291a99fdabdd6406957a99dd56fb0f7a50aa93cd333"}},{"ruleId":"D1","level":"warning","message":{"text":"backup._validate_archive (cyclomatic 25): backup._validate_archive 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":"cli/commands/backup.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"607611dc2de11e4faee77cd62e612532f2c81f5c487d229aa87784b67d5487bc"}},{"ruleId":"D1","level":"warning","message":{"text":"DoubaoBot._convert_messages_to_openai_format (cyclomatic 25): DoubaoBot._convert_messages_to_openai_format 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":"models/doubao/doubao_bot.py"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee97d72ed01f9809effc2359f152ca849359dc731a4920061939d625e565700d"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelScopeBot.call_with_tools (cyclomatic 25): ModelScopeBot.call_with_tools 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":"models/modelscope/modelscope_bot.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"4503a1f1fa5494f22fac4678dc68c89a7ea793c28b6a17be2014b6b59f9fff25"}},{"ruleId":"D1","level":"warning","message":{"text":"Role.on_handle_context (cyclomatic 25): Role.on_handle_context 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":"plugins/role/role.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a0262cd44292cbb0a8429db74ac5fd2f2625a6769287c1d3604ca217137bcb"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace.wsRenderPreview (cyclomatic 25): workspace.wsRenderPreview has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/workspace.js"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"df48848d5c3b80941a8f37ab8ab85f83690cd95a3a255e323f58564245ce1c99"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdateBanner.UpdateBanner (cyclomatic 25): UpdateBanner.UpdateBanner 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":"desktop/src/renderer/src/components/UpdateBanner.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea569de9dca6f52a8d76b4e11ed691bf1ebffa4aa3b55df7dc822051640af3f"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelCatalogEditor.ModelCatalogEditor::discover (cyclomatic 25): ModelCatalogEditor.ModelCatalogEditor::discover 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":"desktop/src/renderer/src/pages/settings/ModelCatalogEditor.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b7d49b6e1d200743906fa883515ff0d02c455c9a48a4942d140f126beb263e"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelsTab.SearchKeyModal (cyclomatic 25): ModelsTab.SearchKeyModal has cyclomatic complexity 25 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 12 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":"desktop/src/renderer/src/pages/settings/ModelsTab.tsx"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c49a955de6a4fcfaf8aebddb32dffba3b3008b388838fbb776860e2eb593b7"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillCreateForm.SkillCreateForm (cyclomatic 25): SkillCreateForm.SkillCreateForm 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 (submit, a function literal at line 128, a function literal at line 122, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/skills/SkillCreateForm.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b719fd69593bafd5ac1f4393e386720ab5871967d22542fc7a2b4a7c2e7bc6"}},{"ruleId":"D1","level":"warning","message":{"text":"ArtifactCard.Thumb (cyclomatic 25): ArtifactCard.Thumb has cyclomatic complexity 25 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/artifacts/ArtifactCard.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5299579b5c660d5a2703b3602d99a572fe58c147c741d2d97352986b418c0df9"}},{"ruleId":"D1","level":"warning","message":{"text":"MenuEditor.EditorDialog::renderItem (cyclomatic 25): MenuEditor.EditorDialog::renderItem 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":"desktop/src/renderer/src/components/MenuEditor.tsx"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"c323f61ff08940a9dfffd434fe1cd1b0d854cd047c72026c5b442b030513fb96"}},{"ruleId":"D1","level":"warning","message":{"text":"startSSE::connect::onmessage (cyclomatic 25): startSSE::connect::onmessage has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/send.js"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff34eca3d890dee772119992c7615990b9eaf947746c1ae6d5f119f79f9da821"}},{"ruleId":"D1","level":"warning","message":{"text":"integration._execute_agent_task (cyclomatic 24): integration._execute_agent_task 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":"agent/tools/scheduler/integration.py"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c103e4272eab2629c332cca3a1fca8fa9a9d99463a503dab5e47b1e4610fc9"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchFiles._find_by_name (cyclomatic 24): SearchFiles._find_by_name has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/search_files/search_files.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"78eb2d172fc60b2277d1e5c9f4ad318489f30b7368d65769bca6f09e12348c0f"}},{"ruleId":"D1","level":"warning","message":{"text":"WebSearch.execute (cyclomatic 24): WebSearch.execute 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":"agent/tools/web_search/web_search.py"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3a978d2bcaa0bda2c91514bb671e021de1aeb3955aac09c80f8b7109213c3b"}},{"ruleId":"D1","level":"warning","message":{"text":"TelegramChannel._async_send (cyclomatic 24): TelegramChannel._async_send 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":"channel/telegram/telegram_channel.py"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a1882214f926da29cfd318831d3797c0028c1082680ab38cc40a400ed3a3a2"}},{"ruleId":"D1","level":"warning","message":{"text":"TerminalAgentRenderer._handle_event (cyclomatic 24): TerminalAgentRenderer._handle_event 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":"channel/terminal/terminal_channel.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86dca3e701ec2fcba2b8d500cec1394bb92b54408dcb898735b645a9223a4c2"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigHandler.GET (cyclomatic 24): ConfigHandler.GET 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":"channel/web/api/config.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba5df86169991755e3f31644bc5fd25a313d372d14c6af8293cb3022f71f51e"}},{"ruleId":"D1","level":"warning","message":{"text":"menu._clean_item (cyclomatic 24): menu._clean_item 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":"channel/web/api/menu.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d9764ee76731febab8b248293570452524cdfce2f01cfe954cd8476869075b"}},{"ruleId":"D1","level":"warning","message":{"text":"WeixinChannel._qr_login (cyclomatic 24): WeixinChannel._qr_login 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":"channel/weixin/weixin_channel.py"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"0adb2014346df074c4b328a898f515095f56a181e6e7efefa36544e31a42ad40"}},{"ruleId":"D1","level":"warning","message":{"text":"WeixinChannel._process_message (cyclomatic 24): WeixinChannel._process_message 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":"channel/weixin/weixin_channel.py"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"6421b3146609a9656aaf6603c18ffc7391e33b50c21f709182a52b5d24734526"}},{"ruleId":"D1","level":"warning","message":{"text":"generate.resolve_size (cyclomatic 24): generate.resolve_size 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":"skills/image-generation/scripts/generate.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5895000924fa66ef848ac82d53f7c5245bb28b840b66d33a8ae6f1003cf914"}},{"ruleId":"D1","level":"warning","message":{"text":"knowledge._knowledgeResultMessage (cyclomatic 24): knowledge._knowledgeResultMessage 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":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a465f1fdd63a6cceb0b91c1a5af4611f63c6283d46ee9045f77204ceaf07b63"}},{"ruleId":"D1","level":"warning","message":{"text":"models.saveCapability (cyclomatic 24): models.saveCapability 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1938}}}],"partialFingerprints":{"codehealthFindingId/v1":"977fd859d470bdf44a0ca8c2380455cc50efe9bacab9eb059b77f126ac7b9ec7"}},{"ruleId":"D1","level":"warning","message":{"text":"chatStore.useChatStore.send (cyclomatic 24): chatStore.useChatStore.send has cyclomatic complexity 24 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/chatStore.ts"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f57b63ce4bdf6ca6939d5f8d5ac75b784df0b56fe5c274679289184be87b1d8"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatFallbackCard.ChatFallbackModal (cyclomatic 24): ChatFallbackCard.ChatFallbackModal 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 6 function items inside it that branch (a function literal at line 220, addLink, a function literal at line 223, \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":"desktop/src/renderer/src/pages/settings/ChatFallbackCard.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"068ab4e300f6be0a3034a11da128a6cd18c1ca93af8005d05e756015ad60b9dc"}},{"ruleId":"D1","level":"warning","message":{"text":"saveListenHost (cyclomatic 24): saveListenHost has cyclomatic complexity 24 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 12 belong to 13 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/shares.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"2086578455da8e40aec6a1f381a7b543abd31542ffc1c36a06caf222c23a7146"}},{"ruleId":"D1","level":"warning","message":{"text":"policy._check_bash_workspace_write (cyclomatic 23): policy._check_bash_workspace_write 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":"agent/permission/policy.py"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f20fe476e67502a718a21af8bb0e76b1d8d36ff0a95cd228ad1531a463d32d"}},{"ruleId":"D1","level":"warning","message":{"text":"EnvConfig.execute (cyclomatic 23): EnvConfig.execute 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":"agent/tools/env_config/env_config.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"708bf1ba49e767d3acffd8560c4748cc698406a387c594c7ed962a182625ca3b"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentInitializer._filter_text_only_messages (cyclomatic 23): AgentInitializer._filter_text_only_messages 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":"bridge/agent_initializer.py"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebe98542df56ec4c8290bb097416d7a43cf789e514fb7d1fe38b23bfbd10658"}},{"ruleId":"D1","level":"warning","message":{"text":"channel_factory._build_channel (cyclomatic 23): channel_factory._build_channel 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":"channel/channel_factory.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4cf735f1b1acf1f2c9387269c1301865f68e266359bd24e1d7bb278f0f3b33"}},{"ruleId":"D1","level":"warning","message":{"text":"CloudClient.on_chat (cyclomatic 23): CloudClient.on_chat 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":"common/cloud_client.py"},"region":{"startLine":1464}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d5ee5961d8b35f472bf817b7ecddb67ba97f7643f6ecba44ca49d3494a2160"}},{"ruleId":"D1","level":"warning","message":{"text":"DeepSeekBot.call_with_tools (cyclomatic 23): DeepSeekBot.call_with_tools 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eaba17f898debb3cd5b0aa53a423ce48a0e0c5cad83833af23c65bd22170faa"}},{"ruleId":"D1","level":"warning","message":{"text":"link_ai_bot._linkai_call_with_tools (cyclomatic 23): link_ai_bot._linkai_call_with_tools 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":"models/linkai/link_ai_bot.py"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2e5ead193dd57d6c8b78b63cdec427fa9717fe124edad0e5a4a41dedf4f5c0"}},{"ruleId":"D1","level":"warning","message":{"text":"responses_adapter.responses_to_chat_completion (cyclomatic 23): responses_adapter.responses_to_chat_completion 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":"models/openai/responses_adapter.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"378cb6975e423f071ae54c0dec4c4c3d97515c45cd5ae0fb6f5f7a8680024884"}},{"ruleId":"D1","level":"warning","message":{"text":"app-icon.sweepWindowsShortcuts (cyclomatic 23): app-icon.sweepWindowsShortcuts 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":"desktop/src/main/app-icon.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb938d0ab6d73b441f89088070dd7a3bca7bd2a0729997ca94429f079f4f751"}},{"ruleId":"D1","level":"warning","message":{"text":"PythonBackend.start (cyclomatic 23): PythonBackend.start has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 11 of the 23 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 834, onOutput, a function literal at line 861). 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":"desktop/src/main/python-manager.ts"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e1f3ea99951a11f76d0a2245b5b1c1603c78e89240914e85ae5b3177ddfa89"}},{"ruleId":"D1","level":"warning","message":{"text":"primitives.Dropdown (cyclomatic 23): primitives.Dropdown has cyclomatic complexity 23 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 11 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":"desktop/src/renderer/src/pages/settings/primitives.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"09aba7e02f1c8e0665d38a1c3a73f7fb267d45a0793e5864c698767bb26a298c"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelsTab.SearchCard (cyclomatic 23): ModelsTab.SearchCard has cyclomatic complexity 23 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 11 belong to 7 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/ModelsTab.tsx"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bfe7a1e355d3061d68923910b59c38df855790ce1d493255e52cde4e9af715"}},{"ruleId":"D1","level":"warning","message":{"text":"GuestSharesCard.GuestSharesCard (cyclomatic 23): GuestSharesCard.GuestSharesCard has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 8 of the 23 points are its own statements and the rest belongs to 9 function items inside it that branch (runAction, a function literal at line 297, toggleFeature, \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":"desktop/src/renderer/src/pages/settings/shares/GuestSharesCard.tsx"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"766d362a2311b2566e2e1ad38ca30c00f80c6c2ad8dedf34fb694deefec21dab"}},{"ruleId":"D1","level":"warning","message":{"text":"loadKnowledgeView (cyclomatic 23): loadKnowledgeView has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 5 of the 23 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 157, 197, 151, \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":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3a809bccd75c93470cd2d436a57844e83ccebd746e286ebc55e7a7cd18d997"}},{"ruleId":"D1","level":"warning","message":{"text":"KnowledgeService.dispatch (cyclomatic 22): KnowledgeService.dispatch has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/knowledge/service.py"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbeebaec10e5edbae227bef5d5c931f44788c3a90ed3f9c2a75094d026b6859"}},{"ruleId":"D1","level":"warning","message":{"text":"policy._check_git_read_only (cyclomatic 22): policy._check_git_read_only has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/permission/policy.py"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44197b00b568c9b4828519e54444e7eb8dad66c328a6581e4473683f39ee193"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentStreamExecutor._execute_tool (cyclomatic 22): AgentStreamExecutor._execute_tool has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent_stream.py"},"region":{"startLine":2364}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31cc57099faf6a6f5428527e7a43274319f9941b6f36434c618e58899af651d"}},{"ruleId":"D1","level":"warning","message":{"text":"McpClient._streamable_http_post (cyclomatic 22): McpClient._streamable_http_post has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/mcp/mcp_client.py"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8744910600b57a625f5563d4c108c814f4af0993a2477426089e8bbf146d6c"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchFiles.execute (cyclomatic 22): SearchFiles.execute has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/search_files/search_files.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fae88db266d82dc5ba8b0549e8a62793f6b1ba03dea5747755fe7dfe51de761"}},{"ruleId":"D1","level":"warning","message":{"text":"DingTalkChanel.handle_group (cyclomatic 22): DingTalkChanel.handle_group 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":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebf1e313cd451b2be788611dc53449baf97f5cda2150b7957ba6c994af0da52"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentsHandler.POST (cyclomatic 22): AgentsHandler.POST 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":"channel/web/api/agents.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad15b2fcca34de797d83f3e545ec2be8aa8379dfb6f8d7fc87df45d82ffbee41"}},{"ruleId":"D1","level":"warning","message":{"text":"ChannelsHandler._channel_instances_view (cyclomatic 22): ChannelsHandler._channel_instances_view 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":"channel/web/api/channels.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb442b56c5b55a561bd310060b825b0dd8fe0adc8c314f9e635381be96534b5"}},{"ruleId":"D1","level":"warning","message":{"text":"HistoryHandler.GET (cyclomatic 22): HistoryHandler.GET 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":"channel/web/api/sessions.py"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f70f7c0dcf80610267f308444be7e15d1fa65e42ef2eeef56bd04d9e6a43fd"}},{"ruleId":"D1","level":"warning","message":{"text":"WebChannel.startup (cyclomatic 22): WebChannel.startup has cyclomatic complexity 22 (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":"channel/web/core/channel.py"},"region":{"startLine":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef62c0f1d32674cdb556cce462db1720aad8fb5be61d5e62031194e12f4b4a1e"}},{"ruleId":"D1","level":"warning","message":{"text":"WecomBotMessage.__init__ (cyclomatic 22): WecomBotMessage.__init__ 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":"channel/wecom_bot/wecom_bot_message.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f05a5902141a0805d8874ad30d2b1d22962a88def18f8d42bcb071483c66b8"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIHTTPClient._stream_chat (cyclomatic 22): OpenAIHTTPClient._stream_chat has cyclomatic complexity 22 (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":"models/openai/openai_http_client.py"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"5789c888989e4b43a1c24266dfee5e5e1fe26521f3bb00af31c9501ea0a7f523"}},{"ruleId":"D1","level":"warning","message":{"text":"WordsSearch.SetKeywords (cyclomatic 22): WordsSearch.SetKeywords has cyclomatic complexity 22 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/banwords/lib/WordsSearch.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf043c645674a7abd79c2ef0819c86f416ddadfb541a743b742bde6215a5e3d"}},{"ruleId":"D1","level":"warning","message":{"text":"CowCliPlugin._config_set (cyclomatic 22): CowCliPlugin._config_set 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":"plugins/cow_cli/cow_cli.py"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7760f7ef95cbe0f44e2c509df9c80e99a2951ee96c0180c7e3ff281b924c82"}},{"ruleId":"D1","level":"warning","message":{"text":"MinimaxProvider.generate (cyclomatic 22): MinimaxProvider.generate 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":"skills/image-generation/scripts/generate.py"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"a186a6d6163407a9694b1fec4abf1495d57932115d78aabea1771b8380d57b5b"}},{"ruleId":"D1","level":"warning","message":{"text":"nav.navigateTo (cyclomatic 22): nav.navigateTo 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":"channel/web/static/js/core/nav.js"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"92454ab6af903c561a913230d0c9b17e26f0aa5e518b49d6fbd64be694f63a0e"}},{"ruleId":"D1","level":"warning","message":{"text":"themes._bindThemeAddModal (cyclomatic 22): themes._bindThemeAddModal has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 4 of the 22 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 623, a function literal at line 612, a function literal at line 597, \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":"channel/web/static/js/core/themes.js"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"d686df973e1f21af1a1c1248877ac76522533f6b952fbd87bcc5de884efb4e40"}},{"ruleId":"D1","level":"warning","message":{"text":"menu-editor._meItemHTML (cyclomatic 22): menu-editor._meItemHTML 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":"channel/web/static/js/views/menu-editor.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc114a2071ffac8c14618ab6ee6f96f1d08d23b47bf0d6b187ac23765913993e"}},{"ruleId":"D1","level":"warning","message":{"text":"KnowledgePage.KnowledgeDialog (cyclomatic 22): KnowledgePage.KnowledgeDialog 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. This shape REPEATS in the file: one other method here (KnowledgePage.KnowledgeDialog::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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9ce9784bba9fa3f6800dfcc7c5a23cb441e7ebea9b5a885cc9856b19e1f558"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryFlushManager.deep_dream (cyclomatic 21): MemoryFlushManager.deep_dream has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/summarizer.py"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"126792a8d9f94fb99eb88ddcc137ad4543640c3cdb142c93a0c64f07725158e1"}},{"ruleId":"D1","level":"warning","message":{"text":"registry._profile_from_mapping (cyclomatic 21): registry._profile_from_mapping has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/registry.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3c597775db07e7be82019b1adf762b7f9fb3ba512d0334fc88fd0f932604be"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillLoader._load_skill_from_file (cyclomatic 21): SkillLoader._load_skill_from_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":"agent/skills/loader.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f58b24ef087fefdf27a775167484b293f78df664e9379498481a2ececce09aa"}},{"ruleId":"D1","level":"warning","message":{"text":"runner.run_tasks (cyclomatic 21): runner.run_tasks has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/subagent/runner.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0af40ef82dfe17bda152d6b3f245086a561bd8e3e64de8e3f8c8ad62d3bbda"}},{"ruleId":"D1","level":"warning","message":{"text":"Read.execute (cyclomatic 21): Read.execute has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/read/read.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1d713b47ac80a33cc73d23b15bc568a69104d82983376f54bc61ae1a486df9"}},{"ruleId":"D1","level":"warning","message":{"text":"ChannelManager.start (cyclomatic 21): ChannelManager.start has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db156057f832881594df873413cc362678eef92fc37d0a909877a9c1216c3a0"}},{"ruleId":"D1","level":"warning","message":{"text":"DingTalkChanel.handle_single (cyclomatic 21): DingTalkChanel.handle_single has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb19e904ac92ed8cbf054a0dada779eb54c5a48b10da2fdcaddb4adeb843441"}},{"ruleId":"D1","level":"warning","message":{"text":"TelegramChannel._parse_message (cyclomatic 21): TelegramChannel._parse_message 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":"channel/telegram/telegram_channel.py"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"e152d1f0e85eaea54a742e715d23c8d331c51761dd6d10dfa01314ec68179d59"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelsHandler._set_chat_fallback (cyclomatic 21): ModelsHandler._set_chat_fallback 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":"channel/web/api/models.py"},"region":{"startLine":2494}}}],"partialFingerprints":{"codehealthFindingId/v1":"72870c4987f3dc0cf9b779671aadeb580f64ed97e93e1c9c61b94b8cf9a9ffbd"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionSettingsHandler.POST (cyclomatic 21): SessionSettingsHandler.POST 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":"channel/web/api/sessions.py"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59a270bd1fabc1f56414bdfb81c7d0054f292633ff19c9613cb855db006a515"}},{"ruleId":"D1","level":"warning","message":{"text":"WebChannel.stream_response (cyclomatic 21): WebChannel.stream_response 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":"channel/web/core/channel.py"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"83bd0a59f501ea950404e58529d73038fc854a2e366dde9570f972c5105aaf1b"}},{"ruleId":"D1","level":"warning","message":{"text":"skill._route_install (cyclomatic 21): skill._route_install 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":"cli/commands/skill.py"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b359b176ca437a1f8212bd3c44eddb89580a1106e01813414b0a03b3f09ec86"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeAPIBot.reply_text (cyclomatic 21): ClaudeAPIBot.reply_text 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":"models/claudeapi/claude_api_bot.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21dac1ef74a35a8d8993da34f662ae00bdd334d48a438af1930733433bb82da"}},{"ruleId":"D1","level":"warning","message":{"text":"DashscopeBot._convert_messages_to_dashscope_format (cyclomatic 21): DashscopeBot._convert_messages_to_dashscope_format 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":"models/dashscope/dashscope_bot.py"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d0b06d63b065ba2726d7d150628475fe4f8542376eb131c84c37b55628a301"}},{"ruleId":"D1","level":"warning","message":{"text":"CowCliPlugin._skill_list_local (cyclomatic 21): CowCliPlugin._skill_list_local 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":"plugins/cow_cli/cow_cli.py"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"998f33361be17b0758258aa8c47ac32a0989aa3d4c382f649220abe20dda848e"}},{"ruleId":"D1","level":"warning","message":{"text":"MJBot.process_mj_task (cyclomatic 21): MJBot.process_mj_task 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":"plugins/linkai/midjourney.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e30a7f75b7e4208bb074088041096cc84de53dab44c7deaf2c386576ee061e5"}},{"ruleId":"D1","level":"warning","message":{"text":"config.initDropdown (cyclomatic 21): config.initDropdown 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 6 function items inside it that branch (render, a function literal at line 52, paintFace, \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":"channel/web/static/js/views/config.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d911dbba761bef4633aba8a900efa6e1945bfe1ffec94a5be07a26d4dfab9e"}},{"ruleId":"D1","level":"warning","message":{"text":"tasks-modal.openTaskEditModal (cyclomatic 21): tasks-modal.openTaskEditModal 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":"channel/web/static/js/views/tasks-modal.js"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec2769f0ad399bb45cefdade8450e84cbe5ab3fd6886f58f7d69b28b05ae619"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentsPage.AgentCoreFiles (cyclomatic 21): AgentsPage.AgentCoreFiles has cyclomatic complexity 21 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 10 belong to 5 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7f9a17e53a4a06317c1d7838c232f25d2a5b878a0aa633f62835b42ada83fc"}},{"ruleId":"D1","level":"warning","message":{"text":"parseSkillFrontmatter (cyclomatic 21): parseSkillFrontmatter has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 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":"channel/web/static/js/views/skills.js"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c300306d0a250e4bacd846a8d174bb515abaa0432c0d61fbaea686b9f269de8"}},{"ruleId":"D1","level":"warning","message":{"text":"loadTaskInstances (cyclomatic 21): loadTaskInstances 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 9 function literals inside it that branch (lines 121, 125, 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":"channel/web/static/js/views/tasks-modal.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"56faffcc9ff6eff7654585e70c289d57686ba89a28317efca3b0827f39317996"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentAdminService.create_agent (cyclomatic 20): AgentAdminService.create_agent has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/admin.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb498576305671965a643b92f1ca5708ba9c5e7fe4985f305020260b274df99"}},{"ruleId":"D1","level":"warning","message":{"text":"ConversationStore._migrate (cyclomatic 20): ConversationStore._migrate 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":"agent/memory/conversation_store.py"},"region":{"startLine":2567}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fab8ef721617e2135e82a86ce90a60b27c4df6f8050b4a7fabcf828c653bf75"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentStreamExecutor._smart_compact_to_budget (cyclomatic 20): AgentStreamExecutor._smart_compact_to_budget has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent_stream.py"},"region":{"startLine":2748}}}],"partialFingerprints":{"codehealthFindingId/v1":"b379d8d6025e2c6e682aeb39b1f8827e63dd344a7da010ce99871cd96312ee98"}},{"ruleId":"D1","level":"warning","message":{"text":"integration._execute_tool_call (cyclomatic 20): integration._execute_tool_call has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/integration.py"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e693926ed7514bffe968f0c1f6a4f19fc1a2c792efcb7c0d05bc527a6d5cb23"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchFiles._backend_python (cyclomatic 20): SearchFiles._backend_python has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/search_files/search_files.py"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"927cc0f2de9abc402e80bbd7b9299117ba8874d2e02be317cdc66d3e6b5a76bf"}},{"ruleId":"D1","level":"warning","message":{"text":"Write.execute (cyclomatic 20): Write.execute has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/write/write.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc66264ee11eafdce14f96e247253d033be987dbe98d4b257437892af51a0f8a"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceService.dispatch (cyclomatic 20): WorkspaceService.dispatch has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/workspace/service.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"4559a6ecc21be03af1efaefab89d3c98daa6a4f1ae15aa06bc585881eb9fc4cd"}},{"ruleId":"D1","level":"warning","message":{"text":"channel_instances._explicit_instances (cyclomatic 20): channel_instances._explicit_instances 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":"channel/channel_instances.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05704de08c0948f5013d5df8e3d9c9d57c2a3c64dc909337ad8c3dde5ce8e26"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelsHandler._provider_overview (cyclomatic 20): ModelsHandler._provider_overview 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":"channel/web/api/models.py"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a7daca775a26a3dda2c1ec3924354d0aba71264389af1c81f06894e7d463f1"}},{"ruleId":"D1","level":"warning","message":{"text":"WeixinMessage.__init__ (cyclomatic 20): WeixinMessage.__init__ 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":"channel/weixin/weixin_message.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"be83e598400d8bc86c2e27beb6b9fbb11d7ed7c7bf11ab4fbcabfa50fd4b9939"}},{"ruleId":"D1","level":"warning","message":{"text":"CloudClient._handle_channel_sync (cyclomatic 20): CloudClient._handle_channel_sync 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":"common/cloud_client.py"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93e95a03cd920923daebba2dcd2ae6cf3b89fc73123cb973bb12162656de07c"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeAPIBot.call_with_tools (cyclomatic 20): ClaudeAPIBot.call_with_tools 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":"models/claudeapi/claude_api_bot.py"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa7c0e50b5140057ae3312d73c56c03895d5efcbe5594dd9330674cad6be2e4"}},{"ruleId":"D1","level":"warning","message":{"text":"DashscopeBot.call_with_tools (cyclomatic 20): DashscopeBot.call_with_tools 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":"models/dashscope/dashscope_bot.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"0616b440448cbe3e09df790aa1787544f1bb0ff75ca049996212118be63a4a96"}},{"ruleId":"D1","level":"warning","message":{"text":"ZHIPUAIBot._handle_stream_response (cyclomatic 20): ZHIPUAIBot._handle_stream_response 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":"models/zhipuai/zhipuai_bot.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"332c4f96dab3b7e3e8eca80c9676708ba1623e99e91f6098dfd0d28959d6667e"}},{"ruleId":"D1","level":"warning","message":{"text":"LinkAI._process_admin_cmd (cyclomatic 20): LinkAI._process_admin_cmd 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":"plugins/linkai/linkai.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc399321e6b4fc1be25d815e88b0d9d6f190010f7f31cdf93d090d66884cd55"}},{"ruleId":"D1","level":"warning","message":{"text":"QwenProvider.generate (cyclomatic 20): QwenProvider.generate 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":"skills/image-generation/scripts/generate.py"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a733f602449d5e9661e17c2dd55be221d6ec561cb325191a20d6d66eb161894"}},{"ruleId":"D1","level":"warning","message":{"text":"quick_validate.validate_skill (cyclomatic 20): quick_validate.validate_skill 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":"skills/skill-creator/scripts/quick_validate.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b3da5470581091384d37a3ef1dbeeb56ad21b468aa94d5c83a013a455483f5"}},{"ruleId":"D1","level":"warning","message":{"text":"session-settings.renderModelMenu (cyclomatic 20): session-settings.renderModelMenu has cyclomatic complexity 20 (threshold 15). Of this number, 11 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":"channel/web/static/js/chat/session-settings.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"60eb7ab2d28392917b3009953bdd36a0eeb36ab8b02fe74b6794df441a15b115"}},{"ruleId":"D1","level":"warning","message":{"text":"channels-feishu.switchFeishuMode (cyclomatic 20): channels-feishu.switchFeishuMode 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":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a151da72daf227fc2b96b26a9c32a9068c9822663e4689be5fe7f0eefd60a664"}},{"ruleId":"D1","level":"warning","message":{"text":"channels-wecom.switchWecomBotMode (cyclomatic 20): channels-wecom.switchWecomBotMode 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":"channel/web/static/js/views/channels-wecom.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81a049651a6f78e8ccb45529a0db6c2fe4a7c007ba26559aa4f85287a6233ca"}},{"ruleId":"D1","level":"warning","message":{"text":"models-custom-provider.openCustomProviderModal (cyclomatic 20): models-custom-provider.openCustomProviderModal has cyclomatic complexity 20 (threshold 15). 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: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models-custom-provider.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae667b3a122f702439e73d27c4258ae437c125f78154ff5e8f2660a4f760b0f"}},{"ruleId":"D1","level":"warning","message":{"text":"themes.importTheme (cyclomatic 20): themes.importTheme 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":"desktop/src/main/themes.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"543d2a53a1a4cbb8f273bd1ad98fb4118af7de6fc7d752590255ec7d76542d3f"}},{"ruleId":"D1","level":"warning","message":{"text":"sessionSettingsStore.useSessionSettingsStore (cyclomatic 20): sessionSettingsStore.useSessionSettingsStore 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 4 function literals inside it that branch (lines 77, 59, 100, \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":"desktop/src/renderer/src/store/sessionSettingsStore.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4aeb1fae172d0b262225dc002b9ac0d9f6e071f80dcf939ccac2d0925bd1479"}},{"ruleId":"D1","level":"warning","message":{"text":"chatStore.attachmentsFromSteps (cyclomatic 20): chatStore.attachmentsFromSteps 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":"desktop/src/renderer/src/store/chatStore.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"db00b39380e33da8d96995e9e6e9c232175fc496764790dc7ca714ac46460f16"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentScopeSelect.AgentScopeSelect (cyclomatic 20): AgentScopeSelect.AgentScopeSelect has cyclomatic complexity 20 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 4 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/AgentScopeSelect.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"939f087b1a3e1664b33d5ccb17a7c855909808a12dae506a2f69dfd949a0db79"}},{"ruleId":"D1","level":"warning","message":{"text":"mcpConfig.parseMcpJson (cyclomatic 20): mcpConfig.parseMcpJson has cyclomatic complexity 20 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/skills/mcpConfig.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"103d754ff88deda11bf343e7d444d41691bbd72af51d52b6a8ddf83f6038bf64"}},{"ruleId":"D1","level":"warning","message":{"text":"loadAgentCatalog (cyclomatic 20): loadAgentCatalog has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 113, 152, 112, \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":"channel/web/static/js/views/agents.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"38219c1de141454b28af48e6ca0472a6327f6df3f1d588076d36ecf5ff57f9f7"}},{"ruleId":"D1","level":"warning","message":{"text":"loadMemoryView (cyclomatic 20): loadMemoryView has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 4 of the 20 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 25, a function literal at line 51, a function literal at line 25, \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":"channel/web/static/js/views/memory.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db44c9f5e2f470a127c7c291cd2044eeade27a82141178d897b04fe522cf9e8"}},{"ruleId":"D1","level":"warning","message":{"text":"showRunDetailModal (cyclomatic 20): showRunDetailModal has cyclomatic complexity 20 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 6 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/tasks.js"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e680b34573ef7de48df64807670c5cbb1fd343be5ab8227fbc610e7d03d9832"}},{"ruleId":"D1","level":"warning","message":{"text":"tools.build_guest_tools (cyclomatic 19): tools.build_guest_tools has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/guest/tools.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cce82d0bfb8ac321caf2c380faf8b42d8c9d4d1cf55bf715f0231f494b8a057"}},{"ruleId":"D1","level":"warning","message":{"text":"factory._init_explicit_provider (cyclomatic 19): factory._init_explicit_provider has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/embedding/factory.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"15890ff7c4d4108df1867c1e6cf91371d39af397638b71835de44eab6f8143ac"}},{"ruleId":"D1","level":"warning","message":{"text":"Agent.get_context_usage (cyclomatic 19): Agent.get_context_usage 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":"agent/protocol/agent.py"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"95adca17b204bdf2e6fa6dbd7942227bdba18d76f6ecd58141f818cc67fc5feb"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentRegistry.from_config (cyclomatic 19): AgentRegistry.from_config 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":"agent/registry.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4eb75208229f23afd99e004096a85687e89e5ba7fd74898224a708819be383f"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolManager.sync_mcp_into_agent (cyclomatic 19): ToolManager.sync_mcp_into_agent 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":"agent/tools/tool_manager.py"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29fc980e10f4eed7719d7821cad5876b053d93feb0b447f4b7364013af8e1d6"}},{"ruleId":"D1","level":"warning","message":{"text":"WebSearch._search_zhipu (cyclomatic 19): WebSearch._search_zhipu has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/web_search/web_search.py"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"58fac743bf64b5d94d00bcfb9ebaa26d0d7925c1bb9fc460efeae0c2148f575c"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentBridge._seed_team_members (cyclomatic 19): AgentBridge._seed_team_members 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":"bridge/agent_bridge.py"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4307475d04e179032da760a9d7f30cde4f4b1f216a2a6778c17109340d3c71e"}},{"ruleId":"D1","level":"warning","message":{"text":"ChannelsHandler.GET (cyclomatic 19): ChannelsHandler.GET 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":"channel/web/api/channels.py"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7c68c09a9bf5712dc1757d23c90e6d727792f4e29260d6c578fd984da40c60"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelsHandler._image_capability (cyclomatic 19): ModelsHandler._image_capability 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":"channel/web/api/models.py"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9a0d93ff37eeb7940637c698f2fb38b12865f889a470f2ff49cedfdeb1261f"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelsHandler._handle_set_custom_provider (cyclomatic 19): ModelsHandler._handle_set_custom_provider 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":"channel/web/api/models.py"},"region":{"startLine":2156}}}],"partialFingerprints":{"codehealthFindingId/v1":"86414e23ed69e2f39526403ea3bf1048f18d49f545b07640d7951d33a0be9138"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelsHandler._set_chat (cyclomatic 19): ModelsHandler._set_chat 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":"channel/web/api/models.py"},"region":{"startLine":2412}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6f8a8854b2d813429ba77c73f3628b88c5ec3cc28b02e6e964663ac0fb32e8"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelsHandler._handle_set_search_credential (cyclomatic 19): ModelsHandler._handle_set_search_credential 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":"channel/web/api/models.py"},"region":{"startLine":2793}}}],"partialFingerprints":{"codehealthFindingId/v1":"026b18f2566058553b75e81b4391608952ad418a8a221494b1ad8019f13cf05f"}},{"ruleId":"D1","level":"warning","message":{"text":"models._discovered_capabilities (cyclomatic 19): models._discovered_capabilities 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":"channel/web/api/models.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b7247ab32941aa8ae5e676be07dd4bc648041c3c7f93d89a4b37ba7fde3a73"}},{"ruleId":"D1","level":"warning","message":{"text":"WechatKfChannel.consume_callback (cyclomatic 19): WechatKfChannel.consume_callback 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":"channel/wechat_kf/wechat_kf_channel.py"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"d197574a224f36a8643a4573328c5055a061384db8a17467b315e2e316404ac3"}},{"ruleId":"D1","level":"warning","message":{"text":"link_ai_bot._handle_linkai_stream_response (cyclomatic 19): link_ai_bot._handle_linkai_stream_response 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":"models/linkai/link_ai_bot.py"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aece144a5a6772329227d85784bb647edbd0e814c5c1bd2ea22128ae9f6e20c"}},{"ruleId":"D1","level":"warning","message":{"text":"MimoBot.call_with_tools (cyclomatic 19): MimoBot.call_with_tools 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":"models/mimo/mimo_bot.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07bdf4410b8c2832ce1cfe02b8137ae3ffe50149d2fa36d9368ecb1c0ff3dbe"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelScopeBot.reply_text_stream (cyclomatic 19): ModelScopeBot.reply_text_stream 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":"models/modelscope/modelscope_bot.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"911a3525dfcf7b95dbb7ee97436ab56f50d5c6e498046dbd1dc83034c104cbdc"}},{"ruleId":"D1","level":"warning","message":{"text":"CowCliPlugin._resolve_active_embedding (cyclomatic 19): CowCliPlugin._resolve_active_embedding 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":"plugins/cow_cli/cow_cli.py"},"region":{"startLine":1597}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa54d9276dd50d4654c76a1f409a888938b49b1d749638f88046479d18fd6ca"}},{"ruleId":"D1","level":"warning","message":{"text":"SeedreamProvider.generate (cyclomatic 19): SeedreamProvider.generate 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":"skills/image-generation/scripts/generate.py"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0bbd2a3d03282e0b1d8ab448e37f924681ccd9f61837c9fc81d43d7b41251fd"}},{"ruleId":"D1","level":"warning","message":{"text":"MinimaxVoice.textToVoice (cyclomatic 19): MinimaxVoice.textToVoice 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":"voice/minimax/minimax_voice.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8100a4e75cbde20f4c83d131aeb277942225fb2fe445ca47fb5e5c55be762e7"}},{"ruleId":"D1","level":"warning","message":{"text":"artifacts._artInit (cyclomatic 19): artifacts._artInit 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 9 function literals inside it that branch (lines 116, 139, 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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"097d301493a68fa9c8b8d39313cf01f2a58fbfc5216c1752d9b5175f2c7840b5"}},{"ruleId":"D1","level":"warning","message":{"text":"artifacts._artRenderPreviewChrome (cyclomatic 19): artifacts._artRenderPreviewChrome has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"483f33b864bd0fd998b0648aa01fa89aaa23cf6d95ce75ac93aeecc6b1e5e15a"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.parseMcpJson (cyclomatic 19): skills.parseMcpJson has cyclomatic complexity 19 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/skills.js"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c0e0df77bc4128ce8517a48609eebb9fc2a7a914f0888fcdf3887950f87389"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.renderSkillPreviewList (cyclomatic 19): skills.renderSkillPreviewList 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 3 function literals inside it that branch (lines 1057, 1099, 1122). 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":"channel/web/static/js/views/skills.js"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea958aed5ab52ef2bdad18aaf5709941a1b5ed1e25bc6517c69e53663c944fef"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentAvatar.AgentAvatar (cyclomatic 19): AgentAvatar.AgentAvatar has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/AgentAvatar.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b96d858cdda5a2188c85f3bd4168504cfa88f65c4425dc12ab720cceb46a04c"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentSelector.AgentSelector (cyclomatic 19): AgentSelector.AgentSelector has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/AgentSelector.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0615558653d6fd7b7f82514ba2916c64639eaeb3cb332eb918163b98b14607"}},{"ruleId":"D1","level":"warning","message":{"text":"frontmatter.parseSkillFrontmatter (cyclomatic 19): frontmatter.parseSkillFrontmatter 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":"desktop/src/renderer/src/pages/skills/frontmatter.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88c353a9bb4594aa5edf77751b5a57baf835ba3c80b4b42831e106e4249a68b"}},{"ruleId":"D1","level":"warning","message":{"text":"LogsPage.LogsPage (cyclomatic 19): LogsPage.LogsPage 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 7 function items inside it that branch (getLogColor, a function literal at line 21, handleDownload, \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":"desktop/src/renderer/src/pages/LogsPage.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfeb5a076d41dcd4c249ac073b071caa4993d0b80f7458dd5d0345cd55a0818"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentsPage.AgentDetail (cyclomatic 19): AgentsPage.AgentDetail 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf1f41ac8b03d0b66a4bace152da8e5cff3732b1e588f74dc2189988da406c7"}},{"ruleId":"D1","level":"warning","message":{"text":"ConversationStore.append_messages (cyclomatic 18): ConversationStore.append_messages has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1fe96db6fb4dc2413e4bb1fc5bdd08ca6165ac9eb78ffc347bcc5765cdc41c"}},{"ruleId":"D1","level":"warning","message":{"text":"builder._build_runtime_section (cyclomatic 18): builder._build_runtime_section has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/prompt/builder.py"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"09fff863fccd3ce141d2481adc46668a27bda3478a5025d55e9c6ae14758676e"}},{"ruleId":"D1","level":"warning","message":{"text":"Ls.execute (cyclomatic 18): Ls.execute has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/ls/ls.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"de334ce2ca066f931b0f53cd55d8c5f9c77007c0afb000ab8e263a14be0a2f1f"}},{"ruleId":"D1","level":"warning","message":{"text":"integration._migrate_legacy_task_stores (cyclomatic 18): integration._migrate_legacy_task_stores has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/integration.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1c664331ae595e6e9ef9590b8124368d54a378654f66d9345f8cc7bd1cc1a7"}},{"ruleId":"D1","level":"warning","message":{"text":"integration._execute_send_message (cyclomatic 18): integration._execute_send_message has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/integration.py"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebc5b067f8bb4c40b89e0355b2c3c028033e4b4763fb68271d4f4c207a1699a"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatChannel._decorate_reply (cyclomatic 18): ChatChannel._decorate_reply 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":"channel/chat_channel.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"98231493f2b022b7530b9df3faef4d0f249728c25120ce5c33fca4be8f84aa3c"}},{"ruleId":"D1","level":"warning","message":{"text":"SlackChannel._do_send (cyclomatic 18): SlackChannel._do_send 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":"channel/slack/slack_channel.py"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c32dc259131c792ceebdfaaa73841c026171abe73f58d36bdc3671df80e7c9"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelsHandler._custom_provider_cards (cyclomatic 18): ModelsHandler._custom_provider_cards has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/models.py"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"16624df25875b59a69bb19fb807071149aa0c5b1cecf7235f06c876f2551b248"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelsHandler._vision_capability (cyclomatic 18): ModelsHandler._vision_capability 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":"channel/web/api/models.py"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f2ea77457e0227dd2eef532b561546a9338119cdbd4980be6a91c48e313887"}},{"ruleId":"D1","level":"warning","message":{"text":"sessions._session_settings_state (cyclomatic 18): sessions._session_settings_state has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/sessions.py"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"2217874dabb626255c4bd03e269ee0cdea883cfda7ebb67ff09b0a640e3eed91"}},{"ruleId":"D1","level":"warning","message":{"text":"ThemeImportHandler.POST (cyclomatic 18): ThemeImportHandler.POST 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":"channel/web/api/themes.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"22dab3249b959f510bfff6170c0cc00ef5f6d49e00f70e0584991248623a75b1"}},{"ruleId":"D1","level":"warning","message":{"text":"themes.import_theme (cyclomatic 18): themes.import_theme 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":"channel/web/api/themes.py"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b689597eee61a78ed4b11b1dccb68d7da180a02ad4ef1830df92c43640a5752"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceResolveHandler.GET (cyclomatic 18): WorkspaceResolveHandler.GET 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":"channel/web/api/workspace.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b352719a82dde0442daaa4044faa6afc92426a5062fac8a3f17af399a2bba75"}},{"ruleId":"D1","level":"warning","message":{"text":"backup.create_backup_archive (cyclomatic 18): backup.create_backup_archive 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":"cli/commands/backup.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e522728eacd57b7653e5a637b6a994fd951f29447cef7a771d12b31ecc2178"}},{"ruleId":"D1","level":"warning","message":{"text":"link_ai_bot._linkai_convert_messages_to_openai_format (cyclomatic 18): link_ai_bot._linkai_convert_messages_to_openai_format 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":"models/linkai/link_ai_bot.py"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e54e8fe888823644e9d971499d411cc5b6b0b4bda635b06e86f119ef4b8d19"}},{"ruleId":"D1","level":"warning","message":{"text":"responses_adapter.messages_to_input (cyclomatic 18): responses_adapter.messages_to_input 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":"models/openai/responses_adapter.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cca088954e75a6311c5a66f3450b683ecd63198aa0f75169f18bef3940761a2"}},{"ruleId":"D1","level":"warning","message":{"text":"LinkAIProvider.generate (cyclomatic 18): LinkAIProvider.generate 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":"skills/image-generation/scripts/generate.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6fbe1cb6474563ec12a9f8d0544c8a33c864fea5eecfa4c4504ef8483594e4"}},{"ruleId":"D1","level":"warning","message":{"text":"guest.createBotMessageEl (cyclomatic 18): guest.createBotMessageEl has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/guest/guest.js"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8eaad307c607d43d1ec79d6435ecd2b093a12837b2a6896c4a1aff3f563115"}},{"ruleId":"D1","level":"warning","message":{"text":"guest.loadHistory (cyclomatic 18): guest.loadHistory 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 3 function literals inside it that branch (lines 841, 833, 857). 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":"channel/web/static/guest/guest.js"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"25825383696030d2928fbe5941c979978ab5a0d51e3f1f6f16255e5cb83568a4"}},{"ruleId":"D1","level":"warning","message":{"text":"state.fetch (cyclomatic 18): state.fetch 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":"channel/web/static/js/chat/state.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b3004381af15f556acfebe92e58f6e7765809da86a973c8230c5462ae5cdbb"}},{"ruleId":"D1","level":"warning","message":{"text":"artifacts._artCardHTML (cyclomatic 18): artifacts._artCardHTML 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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e1108fd86bee38e6cd68f825adcf169b7a2a6982a92fbf06697a163077acda"}},{"ruleId":"D1","level":"warning","message":{"text":"config.syncReasoningEffortOptions (cyclomatic 18): config.syncReasoningEffortOptions 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":"channel/web/static/js/views/config.js"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"132389d80945cce6277326949a5a01f40b724a2f166ffe8c571f709ed0b181f8"}},{"ruleId":"D1","level":"warning","message":{"text":"menu-editor._meOnClick (cyclomatic 18): menu-editor._meOnClick has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/menu-editor.js"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddcc2cb27d5a2af78770c1fa4f061b79fc80ff19fe4504a5e1bc00a3057a6ae"}},{"ruleId":"D1","level":"warning","message":{"text":"models.renderFallbackChainEditor (cyclomatic 18): models.renderFallbackChainEditor has cyclomatic complexity 18 (threshold 15). 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 469, 415, 484). 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":"channel/web/static/js/views/models.js"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70ce12c460bf42135b35fe65bece61239741a5ae90b661cc5b1bd7103a307df"}},{"ruleId":"D1","level":"warning","message":{"text":"sessions._sessionItemEl (cyclomatic 18): sessions._sessionItemEl 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":"channel/web/static/js/views/sessions.js"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c75e1faed10a71574c376b9d50bdcd90aa17d30b93f3c2e73471aa2bf291462"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.renderSkillFilesTree (cyclomatic 18): skills.renderSkillFilesTree has cyclomatic complexity 18 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/skills.js"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee86be16bd61175e8e20ae265d130ca09eca3316fa964a7525786478adaa0010"}},{"ruleId":"D1","level":"warning","message":{"text":"themes.normalizeTheme (cyclomatic 18): themes.normalizeTheme 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":"desktop/src/renderer/src/theme/themes.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01df53964ddd4b6544974768e61f56bcea41754e804dab226e074377c6735bc"}},{"ruleId":"D1","level":"warning","message":{"text":"chatStore.historyToMessage (cyclomatic 18): chatStore.historyToMessage has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/chatStore.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f1e89ddb5e366a9b9bb2212793028a4e44e1243c540dd44c4ff13a91be8fe7"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatInput.ChatInput::handleKeyDown (cyclomatic 18): ChatInput.ChatInput::handleKeyDown has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (ChatInput.ChatInput) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/ChatInput.tsx"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"10bb90237fbccac1fa69950c654a228654778a6e2a29c7956cac2ad7b346629c"}},{"ruleId":"D1","level":"warning","message":{"text":"BasicSettings.BasicSettings::loadConfig (cyclomatic 18): BasicSettings.BasicSettings::loadConfig has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (BasicSettings.BasicSettings) 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":"desktop/src/renderer/src/pages/settings/BasicSettings.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df2b7ee77f9b7d6c78fff76153becaaff198719d7501c2d783fe89cdd2e9d3c"}},{"ruleId":"D1","level":"warning","message":{"text":"ShareEditor.ShareEditor::fill (cyclomatic 18): ShareEditor.ShareEditor::fill has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 2 other methods here (ShareEditor.ShareEditor, ShareEditor.ShareEditor::save) 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":"desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cbb26a8f10dc58c307e26cc9b82b481951beb57e7098c28c8d85dc1da7a4422"}},{"ruleId":"D1","level":"warning","message":{"text":"ShareDialogs.ShareLogsDialog (cyclomatic 18): ShareDialogs.ShareLogsDialog has cyclomatic complexity 18 (threshold 15). Of this number, 11 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":"desktop/src/renderer/src/pages/settings/shares/ShareDialogs.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"3595bc1cbfb7c70f5a56621a285fbd86dd60e506135a6d1e35e188da2d51e96c"}},{"ruleId":"D1","level":"warning","message":{"text":"DocEditor.DocEditor (cyclomatic 18): DocEditor.DocEditor has cyclomatic complexity 18 (threshold 15). 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 items inside it that branch (onKeyDown, a function literal at line 100, a function literal at line 108, \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":"desktop/src/renderer/src/components/DocEditor.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e6fff5999120b78b8fab7254687c9a64b81d28a49ec94cf4779907d1e6ce8c"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillAddModal.PreviewCard (cyclomatic 18): SkillAddModal.PreviewCard has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 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":"desktop/src/renderer/src/pages/skills/SkillAddModal.tsx"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d364552e7371313261eb27cdc09fcedc5b098d1c7d5deeae9acf5f3c67ef17"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentsPage.AgentSkills (cyclomatic 18): AgentsPage.AgentSkills has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 801, a function literal at line 753, toggleSkill, \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":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"26372c23e1eabbda9936d06f610c7fe020e2ae530a8a8db76b6dfdd8e1f6bc63"}},{"ruleId":"D1","level":"warning","message":{"text":"sendMessage (cyclomatic 18): sendMessage has cyclomatic complexity 18 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 8 belong to 6 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/send.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"e869ed5c059f5746fe327ea423731463ed798fce21f8ddd90ede7d11f69b3ac8"}},{"ruleId":"D1","level":"warning","message":{"text":"saveModelConfig (cyclomatic 18): saveModelConfig has cyclomatic complexity 18 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 7 belong to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/config.js"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5920603068b3b24cb9fc816e43b45346c0dfdd9d860c69012505fdc5e4012a"}},{"ruleId":"D1","level":"warning","message":{"text":"provider.create_embedding_provider (cyclomatic 17): provider.create_embedding_provider has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/embedding/provider.py"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca69bf7ffd65a1c0adcef6e1aeb5cef47499551bd7a9fc50ced8c7a721e3ef82"}},{"ruleId":"D1","level":"warning","message":{"text":"SQLiteVectorBackend.search (cyclomatic 17): SQLiteVectorBackend.search has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/vector_backend.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8c62c5feec0f804f409d0f1c7affca6288f20f0084abb479e163e8213652bc"}},{"ruleId":"D1","level":"warning","message":{"text":"policy._split_process_substitutions (cyclomatic 17): policy._split_process_substitutions has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/permission/policy.py"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff29ba26887e35e48d2276756b957bfc3beb7d8259a8679cdf5510486b10d79"}},{"ruleId":"D1","level":"warning","message":{"text":"policy._workspace_write_paths (cyclomatic 17): policy._workspace_write_paths has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/permission/policy.py"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"31aa64755140535ff1c108c4b965f9932257ad8c2da29fa28f507776bb6b14c0"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentStreamExecutor._truncate_historical_tool_results (cyclomatic 17): AgentStreamExecutor._truncate_historical_tool_results has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent_stream.py"},"region":{"startLine":2663}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2738a84c82eba0219fc933ff0249845ead46120f25725934f311bc654f2c7e"}},{"ruleId":"D1","level":"warning","message":{"text":"config.should_include_skill (cyclomatic 17): config.should_include_skill has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/skills/config.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1ca5724043c101c1ea06fb264f47c0aabda708fcb67fb9b71da89de2b6e30d"}},{"ruleId":"D1","level":"warning","message":{"text":"WebFetch._fetch_deepseek (cyclomatic 17): WebFetch._fetch_deepseek has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/web_fetch/web_fetch.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63bebf9ed149c9b1e534e1d29213118b7d5a8e6b95bdb1eb27ea2142ad24c73"}},{"ruleId":"D1","level":"warning","message":{"text":"WebSearch._search_specstream (cyclomatic 17): WebSearch._search_specstream 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":"agent/tools/web_search/web_search.py"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"140b56ffd3b381f05bedff8364c8e9d8d1da28d5507b3d5a2c632a80b2ed82d8"}},{"ruleId":"D1","level":"warning","message":{"text":"DingTalkChanel.startup (cyclomatic 17): DingTalkChanel.startup 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":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab72142de76f3ca9a524231899ceece4b0b574be149b2adcd175251a73e2135"}},{"ruleId":"D1","level":"warning","message":{"text":"QQChannel._handle_msg_event (cyclomatic 17): QQChannel._handle_msg_event 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":"channel/qq/qq_channel.py"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"efaac341677c551254b23983f584d3f4395170bb6b41971af4d819b80dffcb92"}},{"ruleId":"D1","level":"warning","message":{"text":"TerminalChannel.send (cyclomatic 17): TerminalChannel.send 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":"channel/terminal/terminal_channel.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"782631684edf04db75b034c1175d8f19f72b4a51d3be909353ff1b43c79f2b00"}},{"ruleId":"D1","level":"warning","message":{"text":"VoiceTtsHandler.POST (cyclomatic 17): VoiceTtsHandler.POST 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":"channel/web/api/files.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab91b41e9266e9b9b65045a4f84480b90a2af097a7a0318a6a9392b4a87faa4d"}},{"ruleId":"D1","level":"warning","message":{"text":"sessions._list_sessions_across_agents (cyclomatic 17): sessions._list_sessions_across_agents 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":"channel/web/api/sessions.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"112446ab026be229c37b6d0cafbfe0c653932ea1d9cfb6b3f79ce78d890fd472"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectBrowseHandler.GET (cyclomatic 17): ProjectBrowseHandler.GET 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":"channel/web/api/workspace.py"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d71386787a55a8ad3f53278ee4c7c329adc593156e25f37db3212f43ef7fef"}},{"ruleId":"D1","level":"warning","message":{"text":"GuestPages.history (cyclomatic 17): GuestPages.history 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":"channel/web/core/guest_pages.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51ab7dea5333cd63024f685d7565993b2f5cbf65b216ef552b2d1dbfddebfe9"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatGPTBot.reply_image (cyclomatic 17): ChatGPTBot.reply_image 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":"models/chatgpt/chat_gpt_bot.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdb5836b664c306ae81005f0c75c12fdb49755a3580bb95b1025f10cb12dde9"}},{"ruleId":"D1","level":"warning","message":{"text":"AzureChatGPTBot.create_img (cyclomatic 17): AzureChatGPTBot.create_img 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":"models/chatgpt/chat_gpt_bot.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c65b2fad295a036890269ad06c09d7cc314ed7cf98cbc1bbb964471a4dfb5e"}},{"ruleId":"D1","level":"warning","message":{"text":"MoonshotBot.call_with_tools (cyclomatic 17): MoonshotBot.call_with_tools 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":"models/moonshot/moonshot_bot.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e52d11337b50e8012112d925ab6c82d65d21c7faaa4c75829060d1b07b9e70f"}},{"ruleId":"D1","level":"warning","message":{"text":"ZHIPUAIBot.reply_text (cyclomatic 17): ZHIPUAIBot.reply_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":"models/zhipuai/zhipuai_bot.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f92c6bddae87e4064169ea72545bc1edb07d82f35ac44f3071bbbda4efc1ee"}},{"ruleId":"D1","level":"warning","message":{"text":"ZHIPUAIBot.call_with_tools (cyclomatic 17): ZHIPUAIBot.call_with_tools 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":"models/zhipuai/zhipuai_bot.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40d24ca392bf303d6b5fd7489753d42b726ce1c0297b3f693a680801ad2c1e5"}},{"ruleId":"D1","level":"warning","message":{"text":"ZHIPUAIBot._convert_messages_to_zhipu_format (cyclomatic 17): ZHIPUAIBot._convert_messages_to_zhipu_format 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":"models/zhipuai/zhipuai_bot.py"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f8d5252618c729633a63f9d8c016717415e2e0a4324b0945dc4545fa1bab1f"}},{"ruleId":"D1","level":"warning","message":{"text":"Hello.on_handle_context (cyclomatic 17): Hello.on_handle_context 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":"plugins/hello/hello.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55a51275b01f523d5717a272484b555f873d866ba938b47bf511d3129be835c"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiProvider.generate (cyclomatic 17): GeminiProvider.generate 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":"skills/image-generation/scripts/generate.py"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"486dd85c5d883b05b061379e4fb3b727a8d6eb0a5d6979a623e280105e2a8b9e"}},{"ruleId":"D1","level":"warning","message":{"text":"generate._build_providers (cyclomatic 17): generate._build_providers 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":"skills/image-generation/scripts/generate.py"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5515732859a6b47327a119859e4f6bbeb54339a47441cda92af051b3163101"}},{"ruleId":"D1","level":"warning","message":{"text":"render.createUserMessageEl (cyclomatic 17): render.createUserMessageEl 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 one function literal inside it that branches (line 60). 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":"channel/web/static/js/chat/render.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"69619c2236bc4650d3f3f22d1d5f0ee258501b9cf9e484302b5c65d53fcef67a"}},{"ruleId":"D1","level":"warning","message":{"text":"scheduler-notify.maybeNotifyScheduledRun (cyclomatic 17): scheduler-notify.maybeNotifyScheduledRun 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":"channel/web/static/js/chat/scheduler-notify.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1440b1e97fc3d447c843449fc4f7e25fdd07003588f0e634a78282b7cc50e93"}},{"ruleId":"D1","level":"warning","message":{"text":"themes._ctResolve (cyclomatic 17): themes._ctResolve has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/themes.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fa06be458ceeaa8ef9f1159ff20eeda8f46bd3b7386bc9832e9f41ae86995e"}},{"ruleId":"D1","level":"warning","message":{"text":"artifacts._artOnKey (cyclomatic 17): artifacts._artOnKey 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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c3f5182e592a3b6b08513368c09557aa06d5b983be1c382e855faf049a028f"}},{"ruleId":"D1","level":"warning","message":{"text":"models.openDeepseekSearchModal (cyclomatic 17): models.openDeepseekSearchModal has cyclomatic complexity 17 (threshold 15). Of this number, 12 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":"channel/web/static/js/views/models.js"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"376f8f54faf3b3c431c2706c76d683de16d05f00c586cce08ad8e1f324fc8635"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace.renderFileCard (cyclomatic 17): workspace.renderFileCard 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":"channel/web/static/js/workspace.js"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b0073ccabe015cfac308f6c38e97def9cdaa85364dc71ef2adf28b2b97e802"}},{"ruleId":"D1","level":"warning","message":{"text":"themes.readZip (cyclomatic 17): themes.readZip 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":"desktop/src/main/themes.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"72550fcfccc35af263c868fdb74e7ad1fb9a35156db81e6079b67a2e49851616"}},{"ruleId":"D1","level":"warning","message":{"text":"http-relay.relay (cyclomatic 17): http-relay.relay 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 6 function literals inside it that branch (lines 31, 83, 72, \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":"desktop/src/main/http-relay.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadfeafc05fa54bc5ff576cef5b32e31c687baf5c6cbb5ec2a1ac770ae8a83b3"}},{"ruleId":"D1","level":"warning","message":{"text":"index.createWindow (cyclomatic 17): index.createWindow 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 7 function items inside it that branch (a function literal at line 520, a function literal at line 457, a function literal at line 508, \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":"desktop/src/main/index.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"199d5284b13fc3a4209db4470c1f07f46f12496abfa379477483e39592726fcf"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentsPage.CreateAgentModal (cyclomatic 17): AgentsPage.CreateAgentModal 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 5 function items inside it that branch (submit, onPickAvatar, a function literal at line 855, \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":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdff611bb80d36f82fa4fa2671342a469bdd8b5a4536a60ef9674328e3d636c3"}},{"ruleId":"D1","level":"warning","message":{"text":"_ctxDoCompact (cyclomatic 17): _ctxDoCompact 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 3 function literals inside it that branch (lines 360, 359, 389). 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":"channel/web/static/js/chat/context-usage.js"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f997473ca63dc753fbedec7005f918c7d49238a1e3364144b1c02ff025dffb5"}},{"ruleId":"D1","level":"warning","message":{"text":"renderVoicePill (cyclomatic 17): renderVoicePill 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 11 function items inside it that branch (fmt, setIcon, a function literal at line 648, \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":"channel/web/static/js/chat/render.js"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f86756f593d9e2687fad868691ff7beb6a59aedb891faf6ec0cb9007ddef24"}},{"ruleId":"D1","level":"warning","message":{"text":"renderAgentSkillsPane (cyclomatic 17): renderAgentSkillsPane 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 items inside it that branch (a function literal at line 517, render, a function literal at line 528, \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":"channel/web/static/js/views/agents.js"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"d589caa12ff510a9dbaafad595f1e2dffe8e4d3ecb4aac30eb8699619f7aa3d4"}},{"ruleId":"D1","level":"warning","message":{"text":"_artTogglePin (cyclomatic 17): _artTogglePin 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 6 function literals inside it that branch (lines 921, 924, 942, \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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c75e0fddbed6070ddb26658cd1d93297070e3378d26b050e1c5d0ced35bdd91"}},{"ruleId":"D1","level":"warning","message":{"text":"PathGuard.resolve (cyclomatic 16): PathGuard.resolve 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":"agent/guest/paths.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e62718b41a6e43865047e4ca6bd1994472b39cffe486fe84e9e1d046625bab"}},{"ruleId":"D1","level":"warning","message":{"text":"GuestService._check_limits (cyclomatic 16): GuestService._check_limits 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":"agent/guest/runtime.py"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5681cf640031debdd824037ebe6a6e2b14d389955aa8bd987f9311bb0512eb"}},{"ruleId":"D1","level":"warning","message":{"text":"GuestService.begin (cyclomatic 16): GuestService.begin 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":"agent/guest/runtime.py"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f712a321e4b26b291febf2607cb71a6bb7ef486074db0cd4274e21dde642568"}},{"ruleId":"D1","level":"warning","message":{"text":"GuestSearchFiles.execute (cyclomatic 16): GuestSearchFiles.execute has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/guest/tools.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d6970235b849e2eda02451a81c358c79449433fcdaaa86be733f1562036644"}},{"ruleId":"D1","level":"warning","message":{"text":"ConversationStore.get_run_detail (cyclomatic 16): ConversationStore.get_run_detail has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":1685}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b0a04ebf8440d15b7d53680b1f218c349585149182eca46eeba965dc2ba63f"}},{"ruleId":"D1","level":"warning","message":{"text":"Agent.run_stream (cyclomatic 16): Agent.run_stream has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent.py"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bcafe5255945dd27a2c6af59498b97977b6c9a9408402f720b25ab6a988b020"}},{"ruleId":"D1","level":"warning","message":{"text":"Agent.compact_context (cyclomatic 16): Agent.compact_context 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":"agent/protocol/agent.py"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"8685eda464232536c5029499a9046ec9eda0b9ce6751c9c8452b296d88c2d43e"}},{"ruleId":"D1","level":"warning","message":{"text":"message_utils.compress_turn_to_text_only (cyclomatic 16): message_utils.compress_turn_to_text_only has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/message_utils.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ee165c0b8288daf1b9a204575a8dea3e4ec3378d6127f2b295205ed78c4d1d"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillLoader._load_skills_recursive (cyclomatic 16): SkillLoader._load_skills_recursive has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/skills/loader.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf22d593119412c8a7e4fe6655fa85c4feacfec6561054e60bfc796686e8cb6"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentDelegateTool._team_members (cyclomatic 16): AgentDelegateTool._team_members has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/agent_delegate/agent_delegate.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3ab2449fd75e940fe95caf7f481054d037bb0a13dbf69b2018a7ddc671c50f"}},{"ruleId":"D1","level":"warning","message":{"text":"Bash._get_safety_warning (cyclomatic 16): Bash._get_safety_warning has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/bash/bash.py"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a315d5695b27a8181b044aa6a890c426938aa81c29e1b82321a4f7bad8f4ee"}},{"ruleId":"D1","level":"warning","message":{"text":"BrowserService.__init__ (cyclomatic 16): BrowserService.__init__ has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/browser/browser_service.py"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24a019428cfb4833763ccee755331e2870fc2c2c1e1aadcc791230ffce61c09"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp_oauth.discover_metadata (cyclomatic 16): mcp_oauth.discover_metadata 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":"agent/tools/mcp/mcp_oauth.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b384c66458efce3abafafa750eb6319b2373e827531dd9274a07ce2580f666"}},{"ruleId":"D1","level":"warning","message":{"text":"SchedulerTool._parse_schedule (cyclomatic 16): SchedulerTool._parse_schedule has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/scheduler_tool.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"447ef2c53cd382494175d78fe2476d4fa6ab530cf45ed912e84f224eee69087e"}},{"ruleId":"D1","level":"warning","message":{"text":"Send.execute (cyclomatic 16): Send.execute 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":"agent/tools/send/send.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c4f2f7928ea0e06bbf949b0251ae39c59f0cdea329d3ab871c668eed9dd79a"}},{"ruleId":"D1","level":"warning","message":{"text":"Vision._route_by_provider_id (cyclomatic 16): Vision._route_by_provider_id has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/vision/vision.py"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1d4da0073ea55603658a7ee8a94cbafc25c61729f9602c4450be83a6415abb"}},{"ruleId":"D1","level":"warning","message":{"text":"WebFetch._fetch_document (cyclomatic 16): WebFetch._fetch_document 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":"agent/tools/web_fetch/web_fetch.py"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"585fc9463277b766581ec15f2c319046fdd602dcbf7de5c7dc6cd419dddc5be5"}},{"ruleId":"D1","level":"warning","message":{"text":"WebSearch._search_linkai (cyclomatic 16): WebSearch._search_linkai has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/web_search/web_search.py"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f66c4c8622d690de99335d61dae525118cdd7dce38c82fa41352d3707472d07"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentLLMModel._primary_bot_type (cyclomatic 16): AgentLLMModel._primary_bot_type 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":"bridge/agent_bridge.py"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"89462dcb74384e45108dfba69fbb58f465ee093ca8ebb4fe02e3059bb61f0145"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentInitializer.initialize_agent (cyclomatic 16): AgentInitializer.initialize_agent 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":"bridge/agent_initializer.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f7b04c0d3f24929679f3ddaef53aa7fbdcd4e9e140f66f97a5884b5b196388"}},{"ruleId":"D1","level":"warning","message":{"text":"QQChannel._handle_ws_message (cyclomatic 16): QQChannel._handle_ws_message 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":"channel/qq/qq_channel.py"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8f9587cb697176eb5f6908a2fda3d2dee1aef180a7d79b3031da4453ca2aaa"}},{"ruleId":"D1","level":"warning","message":{"text":"ChannelsHandler.POST (cyclomatic 16): ChannelsHandler.POST 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":"channel/web/api/channels.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"26fac49f6ec07c89ce0579e3617c3d1ea5355ed52455cbfeb3809eb9e0b3e33c"}},{"ruleId":"D1","level":"warning","message":{"text":"ChannelsHandler._handle_save (cyclomatic 16): ChannelsHandler._handle_save 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":"channel/web/api/channels.py"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4f2a9931373478bbc4d078e23f661c5f85b3b15e0dea5e0ec0d31a961e962c"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelsHandler._embedding_capability (cyclomatic 16): ModelsHandler._embedding_capability 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":"channel/web/api/models.py"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e80db2841cb21469fe965e895606f2fda85f8353ae6eb1c01bdcabd7e20bf1"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelsHandler._preset_seed (cyclomatic 16): ModelsHandler._preset_seed 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":"channel/web/api/models.py"},"region":{"startLine":1770}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e9d6c3f7eb9435e787b1113bfbd610d104ef19958f40e32d8d146cee04a926"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelsHandler._set_image (cyclomatic 16): ModelsHandler._set_image 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":"channel/web/api/models.py"},"region":{"startLine":2331}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0a22d5732beec8de756494a91c26b81d5d8f7e0c425c29b522e90b0f337594"}},{"ruleId":"D1","level":"warning","message":{"text":"WebChannel.cancel_request (cyclomatic 16): WebChannel.cancel_request 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":"channel/web/core/channel.py"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e93879ad1d3d28fe2a82348ac7ff5727c35860a8aad81d1d706771bb4b7057"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeAPIBot._sanitize_message (cyclomatic 16): ClaudeAPIBot._sanitize_message 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":"models/claudeapi/claude_api_bot.py"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"efedbb54811c4e1e9046d2ade11f20a8b5cfc67632f665c9e7894ba160d10ac5"}},{"ruleId":"D1","level":"warning","message":{"text":"MinimaxBot.call_with_tools (cyclomatic 16): MinimaxBot.call_with_tools 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":"models/minimax/minimax_bot.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99be3a69197ba9500ede4028120252b99f8ca806ceb234bc21a78e8138ddea7"}},{"ruleId":"D1","level":"warning","message":{"text":"model_catalog.normalize_entry (cyclomatic 16): model_catalog.normalize_entry 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":"models/model_catalog.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8f4fa36bece544253cd8387763485c18e349b67587f5d4d26ff231aaef9e2a"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAICompatibleBot.call_with_tools (cyclomatic 16): OpenAICompatibleBot.call_with_tools 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":"models/openai_compatible_bot.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"15fabd371890c6bde38ba94f2bcde016e2c2306974cdca7a1c544813c8658a16"}},{"ruleId":"D1","level":"warning","message":{"text":"CowCliPlugin._format_tasks (cyclomatic 16): CowCliPlugin._format_tasks 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":"plugins/cow_cli/cow_cli.py"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4d3488929e8403c7ec4e34b6cf6b0a526eb5bf919a2f7bff2831b7d375ab9e"}},{"ruleId":"D1","level":"warning","message":{"text":"generate.main (cyclomatic 16): generate.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":"skills/image-generation/scripts/generate.py"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"86dc6dca6f201e024cd6dfc9affcea5ac77be4246ad8a9e91e55f312bd0ef56a"}},{"ruleId":"D1","level":"warning","message":{"text":"message-actions.editUserMessage (cyclomatic 16): message-actions.editUserMessage has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/message-actions.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee89a3eddb3b9edd0998f5966f1cc3c082e49937335686432a2b53c72a8be5d"}},{"ruleId":"D1","level":"warning","message":{"text":"send.startSSE (cyclomatic 16): send.startSSE has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (send.startSSE::processSSEItem) 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":"channel/web/static/js/chat/send.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"42018d23562cbbd53374bc9612694864cc323ac56faafcc31544bb08c42c2f1e"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.renderSubagentStep (cyclomatic 16): utils.renderSubagentStep 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":"channel/web/static/js/core/utils.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45e5df1b38cffe01de19af73144f5b190ed48854898fa6a0b6141c2fac42484"}},{"ruleId":"D1","level":"warning","message":{"text":"models.onCapabilityProviderChange (cyclomatic 16): models.onCapabilityProviderChange 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":"channel/web/static/js/views/models.js"},"region":{"startLine":1856}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace69fcf66b908f2c1d427d55a60255c9c22e3ff80852eb77168591ca18cc0a2"}},{"ruleId":"D1","level":"warning","message":{"text":"models.fillCatalogForProvider (cyclomatic 16): models.fillCatalogForProvider 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":"channel/web/static/js/views/models.js"},"region":{"startLine":2519}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ef8d1d07d2e166b1d65c68a3538b2cc5dcfada057947124e9b68b35a2ba897"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace.savePreviewEdit (cyclomatic 16): workspace.savePreviewEdit 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":"channel/web/static/js/workspace.js"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63bdbf26fecea8af1b36da1246531a23fb0a058cd3a82412ea3e9bbbf22ffbb"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace.initMention (cyclomatic 16): workspace.initMention has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 1261, 1291, 1244, \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":"channel/web/static/js/workspace.js"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"929d1d8668a1561fc361c2f5e032c1ffa10ed8f54c2ae7dab16c4756efa6987f"}},{"ruleId":"D1","level":"warning","message":{"text":"index.initDesktopLogging (cyclomatic 16): index.initDesktopLogging 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 7 function items inside it that branch (a function literal at line 47, logCrash, write, \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":"desktop/src/main/index.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"462d1b1b5adc0ce400f26889518739ad96e6a9dc77c8f0d54f4bb03a7ce26191"}},{"ruleId":"D1","level":"warning","message":{"text":"FileCard.FileCard (cyclomatic 16): FileCard.FileCard has cyclomatic complexity 16 (threshold 15). 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 (resolved, open, download, \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":"desktop/src/renderer/src/components/FileCard.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87a068174e9e933047270574ea871d51b3cc09ea71689ec9a90a778b80a94d0"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatFallbackCard.LinkEditor (cyclomatic 16): ChatFallbackCard.LinkEditor has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 5 function items inside it that branch (isConfigured, a function literal at line 108, handleProvider, \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":"desktop/src/renderer/src/pages/settings/ChatFallbackCard.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7fa68f18b7a420895078642aebe38281a873b6f6365a01319023e9c0e28fc2"}},{"ruleId":"D1","level":"warning","message":{"text":"regenerateResponse (cyclomatic 16): regenerateResponse has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 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":"channel/web/static/js/chat/send.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d64f8d68ed90f50d3884989ecab9b19bb19bcab166998a03835b7f96881f062"}},{"ruleId":"D1","level":"warning","message":{"text":"showLoginScreen (cyclomatic 16): showLoginScreen 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 81, onsubmit, a function literal at line 113, \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":"channel/web/static/js/core/auth.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"493c024c2c0d25c4b2aad08443f0111bf6e66484dc1d261f8c66e790817cdf22"}},{"ruleId":"D2","level":"warning","message":{"text":"Godcmd.on_handle_context (cognitive 232): Godcmd.on_handle_context has cognitive complexity 232 (threshold 15). Drivers by points: if/else 63 (201 pts), error handling 3 (15 pts), loops 2 (11 pts), boolean chains 5 (nesting depth added 159). 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":"plugins/godcmd/godcmd.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71153224f38b7a0ae5d16fd6f884de5dc5fa06a7dad375ea8193e94ef94dbf2"}},{"ruleId":"D2","level":"warning","message":{"text":"startSSE::processSSEItem (cognitive 217): startSSE::processSSEItem has cognitive complexity 217 (threshold 15). Drivers by points: if/else 75 (143 pts), boolean chains 42, ternaries 11 (28 pts), loops 1 (4 pts) (nesting depth added 88). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/send.js"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d6cd27c68613b755f3ae6155146d9450eb81f413748c3f317298985bb712a9"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentStreamExecutor._call_llm_stream (cognitive 209): AgentStreamExecutor._call_llm_stream has cognitive complexity 209 (threshold 15). Drivers by points: if/else 61 (156 pts), boolean chains 24, ternaries 5 (11 pts), error handling 6 (10 pts), loops 4 (8 pts) (nesting depth added 109). 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":"agent/protocol/agent_stream.py"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e1316554bca438cd7f9c8728a1aa654cef34a0e21d5e9993f0bf1d57a77680"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentStreamExecutor.run_stream (cognitive 191): AgentStreamExecutor.run_stream has cognitive complexity 191 (threshold 15). Drivers by points: if/else 51 (136 pts), ternaries 8 (17 pts), loops 6 (16 pts), boolean chains 11, error handling 5 (11 pts) (nesting depth added 110). 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":"agent/protocol/agent_stream.py"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85ad5b83ed9bc5422ae2a3c1eeccf271601fa7bcbf4bce90656ec86ae7549b9"}},{"ruleId":"D2","level":"warning","message":{"text":"GoogleGeminiBot.call_with_tools (cognitive 174): GoogleGeminiBot.call_with_tools has cognitive complexity 174 (threshold 15). Drivers by points: if/else 43 (135 pts), loops 6 (22 pts), boolean chains 9, error handling 2 (6 pts), ternaries 1 (2 pts) (nesting depth added 113). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/gemini/google_gemini_bot.py"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"db66c99165f54f60b5da983073614632bf9b2ab4412cf8ccf7c98ea56309d79f"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation_store._group_into_display_turns (cognitive 142): conversation_store._group_into_display_turns has cognitive complexity 142 (threshold 15). Drivers by points: if/else 31 (105 pts), loops 6 (13 pts), boolean chains 12, ternaries 3 (8 pts), error handling 2 (4 pts) (nesting depth added 88). 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":"agent/memory/conversation_store.py"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25f127b37ea747194287e605dc925b224a93ae695e56842227bc6400ec282d4"}},{"ruleId":"D2","level":"warning","message":{"text":"KnowledgePage.KnowledgePage (cognitive 128): KnowledgePage.KnowledgePage has cognitive complexity 128 (threshold 15). Drivers by points: if/else 46 (51 pts), boolean chains 36, ternaries 20 (34 pts), error handling 7 (nesting depth added 19). Of this number, 36 points are the body\u0027s own statements and 92 belong to 31 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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b9d06cebe11b4a84a3f656af167d2b8378bb903d77025eff2fc639b4e77352"}},{"ruleId":"D2","level":"warning","message":{"text":"FeishuMessage.__init__ (cognitive 125): FeishuMessage.__init__ has cognitive complexity 125 (threshold 15). Drivers by points: if/else 29 (76 pts), loops 8 (17 pts), ternaries 6 (17 pts), boolean chains 15 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_message.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bdfd608a61d85a3e5b8fecf09fec84d3835b6182a20d3dc63807d3a2c9333f"}},{"ruleId":"D2","level":"warning","message":{"text":"skill._install_hub (cognitive 124): skill._install_hub has cognitive complexity 124 (threshold 15). Drivers by points: if/else 30 (91 pts), error handling 6 (18 pts), boolean chains 7, ternaries 2 (7 pts), loops 1 (nesting depth added 78). 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":"cli/commands/skill.py"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"331800d143e89373bce8aef8c2f976c7a80e7b91fca6187f3733df079b2e45bd"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatPage.ChatPage (cognitive 120): ChatPage.ChatPage has cognitive complexity 120 (threshold 15). Drivers by points: if/else 55 (67 pts), boolean chains 26, ternaries 10 (25 pts), error handling 1 (2 pts) (nesting depth added 28). Most of this is not in the body itself: 7 of the 120 points are its own statements and the rest belongs to 27 function literals inside it that branch (lines 406, 196, 286, \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":"desktop/src/renderer/src/pages/ChatPage.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b8b0aac83b9134f696b895116dfa1b421ee31f41d517cdd18487533207d4c8"}},{"ruleId":"D2","level":"warning","message":{"text":"saveTaskEdit (cognitive 113): saveTaskEdit has cognitive complexity 113 (threshold 15). Drivers by points: if/else 30 (45 pts), ternaries 14 (36 pts), boolean chains 29, error handling 2 (3 pts) (nesting depth added 38). Of this number, 96 points are the body\u0027s own statements and 17 belong to 17 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/tasks-modal.js"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f9f0c65914115fd964aee27cd9828a859a31ed61c5715efe5d42bd2e644d64"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentBridge.agent_reply (cognitive 112): AgentBridge.agent_reply has cognitive complexity 112 (threshold 15). Drivers by points: if/else 29 (40 pts), boolean chains 26, error handling 11 (23 pts), ternaries 14 (21 pts), loops 1 (2 pts) (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_bridge.py"},"region":{"startLine":1510}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1a9203e8c0f3222408a6ea32c4955cf75be14e0887722ad7d240bb617f64f1"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatChannel._compose_context (cognitive 108): ChatChannel._compose_context has cognitive complexity 108 (threshold 15). Drivers by points: if/else 33 (87 pts), boolean chains 10, loops 1 (6 pts), ternaries 1 (5 pts) (nesting depth added 63). 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":"channel/chat_channel.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"01941d8d835c42af4e13eb49083384c16f078f98f18c97c25ee0c2565da4225a"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeAPIBot._stream_once (cognitive 107): ClaudeAPIBot._stream_once has cognitive complexity 107 (threshold 15). Drivers by points: if/else 19 (64 pts), boolean chains 16, ternaries 4 (13 pts), error handling 3 (7 pts), loops 2 (7 pts) (nesting depth added 63). 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":"models/claudeapi/claude_api_bot.py"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d48c819f0e1a15ddc3e9876ffe0456d72ec42d088f4c37b0e412ff15416228"}},{"ruleId":"D2","level":"warning","message":{"text":"MinimaxBot._convert_messages_to_openai_format (cognitive 103): MinimaxBot._convert_messages_to_openai_format has cognitive complexity 103 (threshold 15). Drivers by points: if/else 19 (80 pts), loops 4 (15 pts), boolean chains 4, ternaries 1 (4 pts) (nesting depth added 75). 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":"models/minimax/minimax_bot.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fecfa6cd976a1459f135a41bfb684298e5023f33d81b58a15b9496e2fa2c197"}},{"ruleId":"D2","level":"warning","message":{"text":"profile.normalize_config (cognitive 102): profile.normalize_config has cognitive complexity 102 (threshold 15). Drivers by points: if/else 44 (84 pts), loops 5 (9 pts), boolean chains 6, ternaries 1 (3 pts) (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":"agent/guest/profile.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63281bb504b5a631b0f90320e407c06355747109767c0560c624f42ae3ab812"}},{"ruleId":"D2","level":"warning","message":{"text":"DingTalkChanel.send (cognitive 101): DingTalkChanel.send has cognitive complexity 101 (threshold 15). Drivers by points: if/else 40 (80 pts), boolean chains 10, ternaries 2 (6 pts), error handling 1 (3 pts), loops 1 (2 pts) (nesting depth added 47). 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":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d37373ad22a129cde7a1d435c4922911c30c7830edcbe5fa926f1c60ec30fb8"}},{"ruleId":"D2","level":"warning","message":{"text":"WechatMPChannel.send (cognitive 98): WechatMPChannel.send has cognitive complexity 98 (threshold 15). Drivers by points: error handling 14 (38 pts), if/else 16 (35 pts), loops 6 (14 pts), ternaries 2 (7 pts), boolean chains 4 (nesting depth added 56). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/wechatmp/wechatmp_channel.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7b01634c08906ef0470971edd4301aa49afcaddf7ab57301dd169cfecf266b"}},{"ruleId":"D2","level":"warning","message":{"text":"artifact.collect_message_artifacts (cognitive 97): artifact.collect_message_artifacts has cognitive complexity 97 (threshold 15). Drivers by points: if/else 10 (33 pts), ternaries 7 (25 pts), loops 6 (21 pts), boolean chains 15, error handling 1 (3 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":"agent/protocol/artifact.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0a3065a6553da8035d6b96101864448f2e9bc16c531f9cd2909cd1ed542ef6"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAICompatibleBot._convert_messages_to_openai_format (cognitive 91): OpenAICompatibleBot._convert_messages_to_openai_format has cognitive complexity 91 (threshold 15). Drivers by points: if/else 21 (67 pts), loops 5 (14 pts), boolean chains 6, ternaries 1 (4 pts) (nesting depth added 58). 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":"models/openai_compatible_bot.py"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc29195c1a78de5acfe3a1587dfcce01d99a242944ed178cee2a62892b7c096"}},{"ruleId":"D2","level":"warning","message":{"text":"workspaceStore.useWorkspaceStore (cognitive 89): workspaceStore.useWorkspaceStore has cognitive complexity 89 (threshold 15). Drivers by points: if/else 30 (33 pts), ternaries 15 (29 pts), boolean chains 19, error handling 6 (8 pts) (nesting depth added 19). None of this is in the body itself: all 89 points belong to 18 function literals inside it that branch (lines 220, 406, 350, \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":"desktop/src/renderer/src/store/workspaceStore.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce70e67de2b49bcb8e5c6c90a45a271ac05690038ed3e92379118669b1e2155"}},{"ruleId":"D2","level":"warning","message":{"text":"Bash.execute (cognitive 86): Bash.execute has cognitive complexity 86 (threshold 15). Drivers by points: if/else 35 (50 pts), error handling 11 (19 pts), boolean chains 9, ternaries 3 (6 pts), loops 2 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/bash/bash.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8d45899ab91f506fd575991e209e714cf37b4cfab2d633b2898c68e3ff7525"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelScopeBot._handle_stream_response (cognitive 86): ModelScopeBot._handle_stream_response has cognitive complexity 86 (threshold 15). Drivers by points: if/else 23 (53 pts), boolean chains 9, error handling 4 (9 pts), ternaries 2 (9 pts), loops 3 (6 pts) (nesting depth added 45). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/modelscope/modelscope_bot.py"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f056737afac435bdb824a193983704acafd9cbc62b92a38ec3084b9b36437a0"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryManager.sync (cognitive 85): MemoryManager.sync has cognitive complexity 85 (threshold 15). Drivers by points: if/else 25 (44 pts), error handling 7 (13 pts), loops 8 (13 pts), ternaries 2 (9 pts), boolean chains 6 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/manager.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"9355a39c963957c4f2ff55d1f80b10a2302cf11e83e2cb517b0a43bd273fca9e"}},{"ruleId":"D2","level":"warning","message":{"text":"Query.POST (cognitive 84): Query.POST has cognitive complexity 84 (threshold 15). Drivers by points: if/else 33 (66 pts), boolean chains 10, loops 2 (5 pts), error handling 2 (3 pts) (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/wechatmp/passive_reply.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"53802b9db8bd72235e247e33563689cdef0b39b6f5bf6d6afe06dea09f0b3dd4"}},{"ruleId":"D2","level":"warning","message":{"text":"policy.meet (cognitive 75): policy.meet has cognitive complexity 75 (threshold 15). Drivers by points: if/else 21 (46 pts), boolean chains 26, loops 3 (nesting depth added 25). 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":"agent/guest/policy.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb10216db4333cd5e35ce77fd1f63ed25f250d203a06f76d2928eb53a7f57a4"}},{"ruleId":"D2","level":"warning","message":{"text":"DeepSeekBot._convert_messages_to_openai_format (cognitive 75): DeepSeekBot._convert_messages_to_openai_format has cognitive complexity 75 (threshold 15). Drivers by points: if/else 21 (61 pts), loops 4 (9 pts), boolean chains 5 (nesting depth added 45). 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd0f7515bd49b6a3d0f623ee6ea6a119c8702d1ea370e3b31363ecbc9f5ffa1"}},{"ruleId":"D2","level":"warning","message":{"text":"MimoBot._convert_messages_to_openai_format (cognitive 75): MimoBot._convert_messages_to_openai_format has cognitive complexity 75 (threshold 15). Drivers by points: if/else 21 (61 pts), loops 4 (9 pts), boolean chains 5 (nesting depth added 45). 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":"models/mimo/mimo_bot.py"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb21199c1ab37a9ad049aec18dd9f12de4c2afb74e60e0c357eebbfb352bd9b"}},{"ruleId":"D2","level":"warning","message":{"text":"MinimaxBot._handle_stream_response (cognitive 75): MinimaxBot._handle_stream_response has cognitive complexity 75 (threshold 15). Drivers by points: if/else 22 (53 pts), loops 5 (12 pts), error handling 3 (4 pts), boolean chains 3, ternaries 1 (3 pts) (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":"models/minimax/minimax_bot.py"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"5466885973a59fddfd6986e52e56622d2fb712686c2a11065f7da0ca3cb0dd10"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillsPage.SkillsPage (cognitive 75): SkillsPage.SkillsPage has cognitive complexity 75 (threshold 15). Drivers by points: boolean chains 37, ternaries 14 (22 pts), if/else 12, error handling 4 (nesting depth added 8). Of this number, 39 points are the body\u0027s own statements and 36 belong to 20 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":"desktop/src/renderer/src/pages/SkillsPage.tsx"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f491b7638baf14837f92dee7652ede9380e3147e3ec1af9da8cb9b72c865b9"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsHandler._search_provider_key (cognitive 74): ModelsHandler._search_provider_key has cognitive complexity 74 (threshold 15). Drivers by points: ternaries 16 (32 pts), boolean chains 29, if/else 13 (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":"channel/web/api/models.py"},"region":{"startLine":1510}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f09a632db7371eeaad00f77ddc3ed342b0a95d5d9c78407e1c537fd8d76592c"}},{"ruleId":"D2","level":"warning","message":{"text":"GoogleGeminiBot._handle_gemini_rest_stream_response (cognitive 71): GoogleGeminiBot._handle_gemini_rest_stream_response has cognitive complexity 71 (threshold 15). Drivers by points: if/else 22 (49 pts), loops 4 (9 pts), boolean chains 7, error handling 3 (5 pts), ternaries 1 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/gemini/google_gemini_bot.py"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d9fad21fea7c1360851b4eaeb2407ff9c338a4cbde3c8808f7b20f4c736954"}},{"ruleId":"D2","level":"warning","message":{"text":"chatStore.useChatStore.attachStream (cognitive 71): chatStore.useChatStore.attachStream has cognitive complexity 71 (threshold 15). Drivers by points: boolean chains 51, if/else 12, ternaries 5 (8 pts) (nesting depth added 3). Of this number, 45 points are the body\u0027s own statements and 26 belong to 23 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":"desktop/src/renderer/src/store/chatStore.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfae02811028c062145f2a67ef26d1ddd7a9de32deb9f4b2806f7353538a778d"}},{"ruleId":"D2","level":"warning","message":{"text":"loadHistory (cognitive 69): loadHistory has cognitive complexity 69 (threshold 15). Drivers by points: if/else 27 (33 pts), boolean chains 26, ternaries 7 (8 pts), error handling 2 (nesting depth added 7). Most of this is not in the body itself: 4 of the 69 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 797, a function literal at line 833, a function literal at line 877, \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":"channel/web/static/js/chat/render.js"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6dfa55e81cac65872e139faef166ce35ae7c3237e4cbea547433753653d7aef"}},{"ruleId":"D2","level":"warning","message":{"text":"message_utils.sanitize_claude_messages (cognitive 67): message_utils.sanitize_claude_messages has cognitive complexity 67 (threshold 15). Drivers by points: if/else 18 (47 pts), boolean chains 11, loops 5 (9 pts) (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/message_utils.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2c5ffd78092178b5135eecddec2a28a3542b938b8402d7750890f90d7f4813"}},{"ruleId":"D2","level":"warning","message":{"text":"Bridge.__init__ (cognitive 67): Bridge.__init__ has cognitive complexity 67 (threshold 15). Drivers by points: if/else 24 (49 pts), boolean chains 18 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/bridge.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2182a84ecf7480d67cac4ce005ca903b29f59787e6b6d3fa0552b91b4b96ec26"}},{"ruleId":"D2","level":"warning","message":{"text":"MoonshotBot._convert_messages_to_openai_format (cognitive 67): MoonshotBot._convert_messages_to_openai_format has cognitive complexity 67 (threshold 15). Drivers by points: if/else 17 (53 pts), loops 4 (12 pts), boolean chains 2 (nesting depth added 44). 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":"models/moonshot/moonshot_bot.py"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"8357f93d085aa77068c31c28d759fda3f47cc7ae9f30ce539525c6372c509611"}},{"ruleId":"D2","level":"warning","message":{"text":"DoubaoBot._convert_messages_to_openai_format (cognitive 64): DoubaoBot._convert_messages_to_openai_format has cognitive complexity 64 (threshold 15). Drivers by points: if/else 16 (50 pts), loops 4 (12 pts), boolean chains 2 (nesting depth added 42). 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":"models/doubao/doubao_bot.py"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f164e36ae74c39c969c8aeb9011c4cb1e753facc54130ce2df7e201ff48e291"}},{"ruleId":"D2","level":"warning","message":{"text":"FeiShuChanel._handle_message_event (cognitive 62): FeiShuChanel._handle_message_event has cognitive complexity 62 (threshold 15). Drivers by points: if/else 31 (50 pts), boolean chains 5, loops 2 (5 pts), error handling 1 (2 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"324a5405c7dadb74ffb5224e08a767e6cf0510738c8a150e3a9ff054b02a7bdd"}},{"ruleId":"D2","level":"warning","message":{"text":"responses_adapter.responses_stream_to_chat_chunks (cognitive 62): responses_adapter.responses_stream_to_chat_chunks has cognitive complexity 62 (threshold 15). Drivers by points: if/else 16 (39 pts), boolean chains 11, ternaries 4 (11 pts), loops 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/openai/responses_adapter.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"955243c106858c72676c5fcdeaff5ba015929b3ee964cc869e694448950192ae"}},{"ruleId":"D2","level":"warning","message":{"text":"KnowledgeGraph.KnowledgeGraph (cognitive 61): KnowledgeGraph.KnowledgeGraph has cognitive complexity 61 (threshold 15). Drivers by points: if/else 28 (34 pts), boolean chains 19, ternaries 3 (4 pts), loops 2 (3 pts), error handling 1 (nesting depth added 8). Most of this is not in the body itself: 1 of the 61 points is its own statement and the rest belongs to 26 function items inside it that branch (a function literal at line 209, onPointerMove, 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":"desktop/src/renderer/src/components/KnowledgeGraph.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0adc640fba22e9a91ec912756abc9dd052640bac96bcc4df1947ff68c6ae25"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentInitializer._restorable_turn (cognitive 60): AgentInitializer._restorable_turn has cognitive complexity 60 (threshold 15). Drivers by points: if/else 19 (47 pts), ternaries 2 (5 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_initializer.py"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8d3a737c48593e875a3add922c6802793609872cbd0bac1cc89ea737a8b2da"}},{"ruleId":"D2","level":"warning","message":{"text":"sessions._session_model_catalog (cognitive 60): sessions._session_model_catalog has cognitive complexity 60 (threshold 15). Drivers by points: if/else 18 (36 pts), boolean chains 20, loops 2, error handling 1, ternaries 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":"channel/web/api/sessions.py"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb02d9e56213bed88d20e45e680f97c6bcc31905c10a48e172e6ddcc875f57a0"}},{"ruleId":"D2","level":"warning","message":{"text":"WechatKfChannel.send (cognitive 60): WechatKfChannel.send has cognitive complexity 60 (threshold 15). Drivers by points: if/else 14 (26 pts), error handling 7 (15 pts), loops 4 (8 pts), ternaries 4 (6 pts), boolean chains 5 (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":"channel/wechat_kf/wechat_kf_channel.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c3312fba8634d836558327a0decbd46b890c10999a9b234030a4f35d73c2ee"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelScopeBot.call_with_tools (cognitive 60): ModelScopeBot.call_with_tools has cognitive complexity 60 (threshold 15). Drivers by points: if/else 26 (52 pts), loops 1 (4 pts), boolean chains 2, error handling 1, ternaries 1 (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":"models/modelscope/modelscope_bot.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ac761eddd917a8238e5246523a8e634665847fdd509dbeccd26519e823a123"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionList.SessionList (cognitive 60): SessionList.SessionList has cognitive complexity 60 (threshold 15). Drivers by points: boolean chains 22, if/else 19 (22 pts), ternaries 11 (15 pts), error handling 1 (nesting depth added 7). Most of this is not in the body itself: 9 of the 60 points are its own statements and the rest belongs to 20 function items inside it that branch (a function literal at line 360, newChatInSpace, a function literal at line 261, \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":"desktop/src/renderer/src/layout/SessionList.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"811218597204cbad95de3ef6dc2b24e3ff8643ee8f3a0225200f2b23e91b577d"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledge._knowledgeResultMessage (cognitive 59): knowledge._knowledgeResultMessage has cognitive complexity 59 (threshold 15). Drivers by points: ternaries 12 (48 pts), boolean chains 10, if/else 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":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1d69db73e0f8df18a0df90a494289e7ab18294733126e69e3977df9633ec31"}},{"ruleId":"D2","level":"warning","message":{"text":"McpEditorModal.McpEditorModal (cognitive 59): McpEditorModal.McpEditorModal has cognitive complexity 59 (threshold 15). Drivers by points: if/else 18 (26 pts), boolean chains 18, ternaries 7 (9 pts), error handling 5 (6 pts) (nesting depth added 11). Most of this is not in the body itself: 15 of the 59 points are its own statements and the rest belongs to 8 function items inside it that branch (switchTab, save, readServers, \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":"desktop/src/renderer/src/pages/skills/McpEditorModal.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1235b014b89674d5a77e99b44606dc9f70d840ffa727060c65708352d4e731"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillAddModal.SkillAddModal (cognitive 59): SkillAddModal.SkillAddModal has cognitive complexity 59 (threshold 15). Drivers by points: boolean chains 34, if/else 20 (22 pts), ternaries 2, error handling 1 (nesting depth added 2). Of this number, 27 points are the body\u0027s own statements and 32 belong to 21 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":"desktop/src/renderer/src/pages/skills/SkillAddModal.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"5539b3cf210e7c40bee3d582afdf20aa9b6ca0ef683d56c268770195ca581b20"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatService.run (cognitive 58): ChatService.run has cognitive complexity 58 (threshold 15). Drivers by points: if/else 23 (37 pts), boolean chains 11, ternaries 5, error handling 2 (3 pts), loops 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/chat/service.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e92e586a5aa86ff0afbfd0ac28047c24fb9dc62f90809d1f5aba4a40ce7d309"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentInitializer._load_tools (cognitive 58): AgentInitializer._load_tools has cognitive complexity 58 (threshold 15). Drivers by points: if/else 19 (46 pts), boolean chains 6, loops 2 (3 pts), error handling 1 (2 pts), ternaries 1 (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":"bridge/agent_initializer.py"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb92b64edb9b0f3dd36bc96c67d921483acee42aca180619e7ec42ecc871ae2"}},{"ruleId":"D2","level":"warning","message":{"text":"docEditorStore.createDocEditorStore.store (cognitive 58): docEditorStore.createDocEditorStore.store has cognitive complexity 58 (threshold 15). Drivers by points: if/else 20 (23 pts), ternaries 12 (20 pts), boolean chains 12, error handling 3 (nesting depth added 11). None of this is in the body itself: all 58 points belong to 11 function literals inside it that branch (lines 231, 186, 152, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/docEditorStore.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6049a917453b16453e796c9c244f726e7418139088b240f936c6202ac3ab2fbb"}},{"ruleId":"D2","level":"warning","message":{"text":"QQMessage.__init__ (cognitive 56): QQMessage.__init__ has cognitive complexity 56 (threshold 15). Drivers by points: if/else 20 (36 pts), boolean chains 12, ternaries 3 (6 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":"channel/qq/qq_message.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9a1569e673d1220987dabe01676c7c8b64fe7cdcf06ca8120443392d6eb5bc"}},{"ruleId":"D2","level":"warning","message":{"text":"backup.restore_backup_archive (cognitive 56): backup.restore_backup_archive has cognitive complexity 56 (threshold 15). Drivers by points: if/else 22 (41 pts), loops 4 (11 pts), boolean chains 4 (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":"cli/commands/backup.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7204196525386696ba9764a43574a0133d16612213cfa61c7cb470278f949cb"}},{"ruleId":"D2","level":"warning","message":{"text":"ArtifactsPage.ArtifactsPage (cognitive 56): ArtifactsPage.ArtifactsPage has cognitive complexity 56 (threshold 15). Drivers by points: if/else 27 (29 pts), boolean chains 20, ternaries 6, loops 1 (nesting depth added 2). Of this number, 20 points are the body\u0027s own statements and 36 belong to 18 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":"desktop/src/renderer/src/pages/ArtifactsPage.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7e0d8bac02cbf5ddaa9793e77b565a5189844de940f95494c860676f614aa4"}},{"ruleId":"D2","level":"warning","message":{"text":"SchedulerUpdateHandler.POST (cognitive 55): SchedulerUpdateHandler.POST has cognitive complexity 55 (threshold 15). Drivers by points: if/else 23 (40 pts), boolean chains 14, 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":"channel/web/api/scheduler.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d6ca11a7596d65c96ebe7a5b4305ef2ed18177798220aab0c701fc7702ab2c"}},{"ruleId":"D2","level":"warning","message":{"text":"WebChannel.send (cognitive 55): WebChannel.send has cognitive complexity 55 (threshold 15). Drivers by points: if/else 19 (35 pts), boolean chains 9, error handling 3 (7 pts), ternaries 2 (4 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":"channel/web/core/channel.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7deb1e379f9a0b6d3674d809487818f4c06cae0bf58d112b9046ece9eb155d"}},{"ruleId":"D2","level":"warning","message":{"text":"sessionStore.useSessionStore (cognitive 55): sessionStore.useSessionStore has cognitive complexity 55 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 16, ternaries 9 (12 pts), loops 2 (3 pts), error handling 2 (nesting depth added 9). None of this is in the body itself: all 55 points belong to 17 function literals inside it that branch (lines 288, 143, 235, \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":"desktop/src/renderer/src/store/sessionStore.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d43faed2531457161b7b098e32af2d8dcdc97b9cdf167b923b7e5571bdff8ff"}},{"ruleId":"D2","level":"warning","message":{"text":"App.App (cognitive 55): App.App has cognitive complexity 55 (threshold 15). Drivers by points: boolean chains 25, if/else 23 (24 pts), ternaries 6 (nesting depth added 1). Of this number, 21 points are the body\u0027s own statements and 34 belong to 16 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":"desktop/src/renderer/src/App.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd05342b0b0327a34f0926b061a16ddfdbbbb9a7ab2d027041f8a310c43d760"}},{"ruleId":"D2","level":"warning","message":{"text":"DingTalkMessage.__init__ (cognitive 54): DingTalkMessage.__init__ has cognitive complexity 54 (threshold 15). Drivers by points: if/else 20 (41 pts), loops 2 (6 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 27). 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":"channel/dingtalk/dingtalk_message.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1dd964d4a9f5e59674cd5b419eb706124893e5a971b0ee45be8e71f2c95a3b0"}},{"ruleId":"D2","level":"warning","message":{"text":"app-icon.sweepWindowsShortcuts (cognitive 54): app-icon.sweepWindowsShortcuts has cognitive complexity 54 (threshold 15). Drivers by points: if/else 12 (34 pts), error handling 4 (14 pts), loops 2 (3 pts), boolean chains 2, ternaries 1 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/app-icon.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3dae1de0caf6c0f78c90f024f56c240c144b9bb4abcb1ec4436cc486a52f67"}},{"ruleId":"D2","level":"warning","message":{"text":"IntegrationsTab.IntegrationsTab (cognitive 54): IntegrationsTab.IntegrationsTab has cognitive complexity 54 (threshold 15). Drivers by points: ternaries 11 (18 pts), boolean chains 16, if/else 14 (15 pts), error handling 3 (4 pts), loops 1 (nesting depth added 9). Of this number, 24 points are the body\u0027s own statements and 30 belong to 9 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":"desktop/src/renderer/src/pages/settings/IntegrationsTab.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"008edd59766b6cefb00f321078b975d23c709b3a8e8e87acd13d1ded4fcaf22e"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatTimeline.ChatTimeline (cognitive 53): ChatTimeline.ChatTimeline has cognitive complexity 53 (threshold 15). Drivers by points: if/else 31 (34 pts), boolean chains 12, ternaries 6, loops 1 (nesting depth added 3). Most of this is not in the body itself: 4 of the 53 points are its own statements and the rest belongs to 19 function literals inside it that branch (lines 308, 107, 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":"desktop/src/renderer/src/components/ChatTimeline.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"75feec9de5e11c8312c21d90646544844df5d79d911b858d1946623e22ae1b1a"}},{"ruleId":"D2","level":"warning","message":{"text":"inbound.serve_invoke (cognitive 52): inbound.serve_invoke has cognitive complexity 52 (threshold 15). Drivers by points: boolean chains 25, if/else 19 (21 pts), error handling 4, loops 1, ternaries 1 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/multiagent/inbound.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f8005659c1c126f7278cdee8b629d4668da0806cf609423659fc43c02de79b"}},{"ruleId":"D2","level":"warning","message":{"text":"MoonshotBot._handle_stream_response (cognitive 52): MoonshotBot._handle_stream_response has cognitive complexity 52 (threshold 15). Drivers by points: if/else 19 (39 pts), error handling 3 (4 pts), loops 2 (4 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/moonshot/moonshot_bot.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"cedd9163c13764cade63c8357ecc08b02ae442b762c11b4dac191d0dfff68307"}},{"ruleId":"D2","level":"warning","message":{"text":"startStream::handle (cognitive 52): startStream::handle has cognitive complexity 52 (threshold 15). Drivers by points: if/else 25 (40 pts), boolean chains 6, ternaries 3 (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":"channel/web/static/guest/guest.js"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95bc1bad6e1a6b97f5275fd962aa7410b687b3d98ffea8e5005ba5aab4e8d30"}},{"ruleId":"D2","level":"warning","message":{"text":"renderStepsHtml (cognitive 51): renderStepsHtml has cognitive complexity 51 (threshold 15). Drivers by points: ternaries 10 (30 pts), if/else 8 (14 pts), boolean chains 5, loops 2 (nesting depth added 26). Of this number, 38 points are the body\u0027s own statements and 13 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":"channel/web/static/js/chat/render.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb638b2ae196b6ba97a4955c0dbff4015ef1a1ef7964e178c7ff31e73a8ad8c3"}},{"ruleId":"D2","level":"warning","message":{"text":"renderCapabilityBody (cognitive 51): renderCapabilityBody has cognitive complexity 51 (threshold 15). Drivers by points: boolean chains 19, if/else 13 (16 pts), ternaries 11 (16 pts) (nesting depth added 8). Of this number, 48 points are the body\u0027s own statements and 3 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":"channel/web/static/js/views/models.js"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a85a3741efec1a8b7c2e0cd64f8098a41c6d0ada2f40a3bfa31ac00cdbd2f87"}},{"ruleId":"D2","level":"warning","message":{"text":"loadTasksView (cognitive 51): loadTasksView has cognitive complexity 51 (threshold 15). Drivers by points: if/else 19 (28 pts), boolean chains 13, ternaries 7 (8 pts), error handling 2 (nesting depth added 10). Most of this is not in the body itself: 2 of the 51 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 427, 498, 410, \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":"channel/web/static/js/views/tasks.js"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b738afba7ef6f8a153a1e6fdf1552352d5d453b4e7d0e77d66e24a6c22551e"}},{"ruleId":"D2","level":"warning","message":{"text":"Edit._execute_locked (cognitive 50): Edit._execute_locked has cognitive complexity 50 (threshold 15). Drivers by points: if/else 25 (40 pts), error handling 4 (5 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/edit/edit.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66cdece03c752a9dedb513f9ccda6a23b9fca5b4295bf6a720f0199936419e9"}},{"ruleId":"D2","level":"warning","message":{"text":"channel_instances.upsert_instance (cognitive 50): channel_instances.upsert_instance has cognitive complexity 50 (threshold 15). Drivers by points: if/else 17 (32 pts), boolean chains 13, ternaries 2 (4 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":"channel/channel_instances.py"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1df7f72e21ab78801fb5b547d7d76d332ca2adaad24a76b64d0ab617816baee"}},{"ruleId":"D2","level":"warning","message":{"text":"DeepSeekBot._handle_stream_response (cognitive 50): DeepSeekBot._handle_stream_response has cognitive complexity 50 (threshold 15). Drivers by points: if/else 18 (37 pts), error handling 3 (4 pts), loops 2 (4 pts), ternaries 1 (3 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36780cff6321770242e7f889537d426d17ae6a8ae1b46b72e94fc2fc50a1562"}},{"ruleId":"D2","level":"warning","message":{"text":"MimoBot._handle_stream_response (cognitive 50): MimoBot._handle_stream_response has cognitive complexity 50 (threshold 15). Drivers by points: if/else 18 (37 pts), error handling 3 (4 pts), loops 2 (4 pts), ternaries 1 (3 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":"models/mimo/mimo_bot.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6b187b0095eab90a40c65b480410ca982707f279e47cb0e24e3630ff756925"}},{"ruleId":"D2","level":"warning","message":{"text":"QrScanPanel.QrScanPanel (cognitive 50): QrScanPanel.QrScanPanel has cognitive complexity 50 (threshold 15). Drivers by points: boolean chains 25, if/else 14 (15 pts), ternaries 5 (6 pts), error handling 3, loops 1 (nesting depth added 2). Most of this is not in the body itself: 14 of the 50 points are its own statements and the rest belongs to 13 function items inside it that branch (startWeixin, startFeishu, refreshChannelQr, \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":"desktop/src/renderer/src/components/QrScanPanel.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31375425d0a77335309bce97560bf2a2157774ac7ba309b3f03bb008413b6bb"}},{"ruleId":"D2","level":"warning","message":{"text":"FeishuMessage._extract_quoted_text (cognitive 49): FeishuMessage._extract_quoted_text has cognitive complexity 49 (threshold 15). Drivers by points: if/else 13 (27 pts), boolean chains 11, loops 2 (5 pts), ternaries 1 (5 pts), error handling 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":"channel/feishu/feishu_message.py"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"96599c7aaa6505acd92c7a3c534c40b87c0cf05262d338732737f0f5230c5e9a"}},{"ruleId":"D2","level":"warning","message":{"text":"DoubaoBot._handle_stream_response (cognitive 49): DoubaoBot._handle_stream_response has cognitive complexity 49 (threshold 15). Drivers by points: if/else 17 (36 pts), error handling 3 (4 pts), loops 2 (4 pts), ternaries 1 (3 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":"models/doubao/doubao_bot.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c72dd7177acda7a46e9bf6b7dc2323686099d55571ff2582fcf61aaf0096f8"}},{"ruleId":"D2","level":"warning","message":{"text":"DashscopeBot._convert_messages_to_dashscope_format (cognitive 48): DashscopeBot._convert_messages_to_dashscope_format has cognitive complexity 48 (threshold 15). Drivers by points: if/else 11 (32 pts), loops 3 (9 pts), ternaries 1 (4 pts), boolean chains 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":"models/dashscope/dashscope_bot.py"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6a014bdd743de0b11bbce90a40d1a1786fae59a9d64357b46e0b46a74e88f4"}},{"ruleId":"D2","level":"warning","message":{"text":"link_ai_bot._handle_linkai_stream_response (cognitive 48): link_ai_bot._handle_linkai_stream_response has cognitive complexity 48 (threshold 15). Drivers by points: if/else 7 (21 pts), ternaries 3 (15 pts), error handling 3 (7 pts), boolean chains 4, loops 1 (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":"models/linkai/link_ai_bot.py"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3676d0e2b05b9dad93ca31da27318c749a2c4d540fc6cb7dbcb27b0902ea18"}},{"ruleId":"D2","level":"warning","message":{"text":"TasksPage.TasksPage (cognitive 48): TasksPage.TasksPage has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 13 (29 pts), boolean chains 15, error handling 3, if/else 1 (nesting depth added 16). Most of this is not in the body itself: 11 of the 48 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 244, a function literal at line 175, runFromCard, \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":"desktop/src/renderer/src/pages/TasksPage.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"853e95ed585d92af9485fe6d0447a62b539ba64164b6217f451c267ce4790423"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentInitializer._filter_text_only_messages (cognitive 47): AgentInitializer._filter_text_only_messages has cognitive complexity 47 (threshold 15). Drivers by points: if/else 13 (33 pts), loops 5 (9 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_initializer.py"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c0c1785ff86d83d41e94e6b87d55e7f3f13574f9af527b1a9ce9f1af838189"}},{"ruleId":"D2","level":"warning","message":{"text":"WechatComAppChannel.send (cognitive 47): WechatComAppChannel.send has cognitive complexity 47 (threshold 15). Drivers by points: if/else 11 (20 pts), error handling 7 (17 pts), loops 4 (8 pts), ternaries 1 (2 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":"channel/wechatcom/wechatcomapp_channel.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"4676c871f3ed6f23181bea286af1ce2c7606ba471b71c89b969c561d66716269"}},{"ruleId":"D2","level":"warning","message":{"text":"NavRail.NavRail (cognitive 47): NavRail.NavRail has cognitive complexity 47 (threshold 15). Drivers by points: boolean chains 19, ternaries 14 (16 pts), if/else 11 (12 pts) (nesting depth added 3). Of this number, 20 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/layout/NavRail.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76c59411a5da5fcacfd4d1681fb1025c423c81cff3856fc8bf834df008004ae"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolManager._load_tools_from_init (cognitive 46): ToolManager._load_tools_from_init has cognitive complexity 46 (threshold 15). Drivers by points: if/else 8 (28 pts), error handling 5 (15 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 31). 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":"agent/tools/tool_manager.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e9ea051b87822c369bfcc53749c7344139bd37912c33e8a8a2d9d4be44f812"}},{"ruleId":"D2","level":"warning","message":{"text":"install.run_install_browser (cognitive 46): install.run_install_browser has cognitive complexity 46 (threshold 15). Drivers by points: if/else 23 (29 pts), boolean chains 12, error handling 3 (4 pts), ternaries 1 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"cli/commands/install.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"856693225c794bab81262f44f749002f89a8b2185710c43817a443a32309fea7"}},{"ruleId":"D2","level":"warning","message":{"text":"config.load_config (cognitive 46): config.load_config has cognitive complexity 46 (threshold 15). Drivers by points: if/else 17 (28 pts), error handling 3 (6 pts), loops 3 (5 pts), ternaries 1 (4 pts), boolean chains 3 (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":"config.py"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe8671ca26cb311d59b4d44e1b7b29a40a9bb686c88ba7ca6436d5433382a18"}},{"ruleId":"D2","level":"warning","message":{"text":"state.messagesDiv.addEventListener(\u0022click\u0022) (cognitive 46): state.messagesDiv.addEventListener(\u0022click\u0022) has cognitive complexity 46 (threshold 15). Drivers by points: if/else 21 (37 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 17). Of this number, 26 points are the body\u0027s own statements and 20 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":"channel/web/static/js/chat/state.js"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0a89f5e407fbaa0c7de2f4d9fbc30db209a9869970cd7247a036c7ebf4231d"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 46): (anonymous) has cognitive complexity 46 (threshold 15). Drivers by points: if/else 21 (37 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 17). Of this number, 26 points are the body\u0027s own statements and 20 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":"channel/web/static/js/chat/state.js"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"0910bf2d37b7920847ac0a7e84e4b868ca1d842756068710678701b37b414fd0"}},{"ruleId":"D2","level":"warning","message":{"text":"policy._check_bash_workspace_write (cognitive 45): policy._check_bash_workspace_write has cognitive complexity 45 (threshold 15). Drivers by points: if/else 15 (34 pts), loops 3 (5 pts), boolean chains 3, ternaries 1 (3 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":"agent/permission/policy.py"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e35a9c727ad91a7974b8c2890e33331587b06395c3257d742f61e0bb31164b"}},{"ruleId":"D2","level":"warning","message":{"text":"SchedulerTool._create_task (cognitive 45): SchedulerTool._create_task has cognitive complexity 45 (threshold 15). Drivers by points: if/else 20 (26 pts), boolean chains 11, ternaries 8 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/scheduler_tool.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9798a2653374be3909cdd5751532056e23db834bac56409c67b9605a68cf0e"}},{"ruleId":"D2","level":"warning","message":{"text":"models._discover_models (cognitive 45): models._discover_models has cognitive complexity 45 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 8, ternaries 3 (6 pts), error handling 3 (4 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":"channel/web/api/models.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f7fe2ce175ec0833ab23fcd859fff8b4d0af4a5aafcb388377363af3a6193a"}},{"ruleId":"D2","level":"warning","message":{"text":"WordsSearch.SetKeywords (cognitive 45): WordsSearch.SetKeywords has cognitive complexity 45 (threshold 15). Drivers by points: loops 15 (27 pts), if/else 7 (17 pts), boolean chains 1 (nesting depth added 22). 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":"plugins/banwords/lib/WordsSearch.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"959cb3b7dac023806d340139bf2b2d576daf84d6b9ede4a5f1b85e092ffb499d"}},{"ruleId":"D2","level":"warning","message":{"text":"FileTree.FileTree (cognitive 45): FileTree.FileTree has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 10 (30 pts), boolean chains 9, if/else 4 (5 pts), error handling 1 (nesting depth added 21). Most of this is not in the body itself: 13 of the 45 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 27, 56, 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":"desktop/src/renderer/src/components/FileTree.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfc548ade78aaa75db84018b6e94fc586d80b6014376fa4b8faea9287df8e8e"}},{"ruleId":"D2","level":"warning","message":{"text":"CapabilityCard.CapabilityCard (cognitive 45): CapabilityCard.CapabilityCard has cognitive complexity 45 (threshold 15). Drivers by points: boolean chains 24, if/else 13 (15 pts), ternaries 5 (6 pts) (nesting depth added 3). Most of this is not in the body itself: 15 of the 45 points are its own statements and the rest belongs to 8 function items inside it that branch (handleProvider, handleModel, isConfigured, \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":"desktop/src/renderer/src/pages/settings/CapabilityCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15667508dbb42ddc83aea81cb45354964e1495e86a9b0561796d83a6cb21151"}},{"ruleId":"D2","level":"warning","message":{"text":"WebSearch._search_anysearch (cognitive 44): WebSearch._search_anysearch has cognitive complexity 44 (threshold 15). Drivers by points: if/else 26 (30 pts), boolean chains 8, error handling 2 (3 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/web_search/web_search.py"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a14943c8c2cd05bd1acdeeb80382463a88a42988f71400f2a992ac88582c6d5"}},{"ruleId":"D2","level":"warning","message":{"text":"FeishuProgressState.consume (cognitive 44): FeishuProgressState.consume has cognitive complexity 44 (threshold 15). Drivers by points: if/else 19 (31 pts), boolean chains 8, ternaries 2 (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":"channel/feishu/feishu_progress_card.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1aa0448ce9203eebddbbb43455ae5ed8b762ae28788ac5bd63f3ffd2e3c754"}},{"ruleId":"D2","level":"warning","message":{"text":"rebuildCapabilityVoiceDropdown (cognitive 44): rebuildCapabilityVoiceDropdown has cognitive complexity 44 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 15, ternaries 5 (11 pts) (nesting depth added 10). Of this number, 32 points are the body\u0027s own statements and 12 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1788}}}],"partialFingerprints":{"codehealthFindingId/v1":"557fe562b857f0e5742f3bbcf5526e82850fed34f6663105ee78c99dcce5ddca"}},{"ruleId":"D2","level":"warning","message":{"text":"service.validate_server (cognitive 43): service.validate_server has cognitive complexity 43 (threshold 15). Drivers by points: if/else 23 (33 pts), boolean chains 8, error handling 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":"agent/tools/mcp/service.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f0b1185560e017b7b5088563effb8fa705ce496d5da0dd878ff961676f02b8"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchFiles._find_by_name (cognitive 43): SearchFiles._find_by_name has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (27 pts), loops 3 (5 pts), ternaries 2 (5 pts), boolean chains 3, error handling 1 (3 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":"agent/tools/search_files/search_files.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e3e86820e7ee58d2bf1794bacadf906ed37b981430188e25743ca241531fd5"}},{"ruleId":"D2","level":"warning","message":{"text":"WebChannel.post_message (cognitive 43): WebChannel.post_message has cognitive complexity 43 (threshold 15). Drivers by points: if/else 17 (23 pts), boolean chains 11, ternaries 2 (6 pts), loops 1 (2 pts), error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"164efe1be38c2e7cf18904e5e9ea36833760a34de63a25e6e0e370db6452848f"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageBubble.MessageBubble (cognitive 43): MessageBubble.MessageBubble has cognitive complexity 43 (threshold 15). Drivers by points: boolean chains 36, ternaries 4 (5 pts), if/else 2 (nesting depth added 1). Of this number, 39 points are the body\u0027s own statements and 4 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":"desktop/src/renderer/src/components/MessageBubble.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2da9657fa45fb8201531e8a6591b8e254f71d961f3a3b6767f261ef33cc36b"}},{"ruleId":"D2","level":"warning","message":{"text":"KnowledgePage.KnowledgeDialog::submit (cognitive 43): KnowledgePage.KnowledgeDialog::submit has cognitive complexity 43 (threshold 15). Drivers by points: if/else 22 (37 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (KnowledgePage.KnowledgeDialog) 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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"079c28b81efbecdef7b8683fc01067a54d303faa077cc11030918487594e5be9"}},{"ruleId":"D2","level":"warning","message":{"text":"TasksPage.TaskEditModal (cognitive 43): TasksPage.TaskEditModal has cognitive complexity 43 (threshold 15). Drivers by points: boolean chains 21, ternaries 8 (10 pts), if/else 9, error handling 3 (nesting depth added 2). Of this number, 17 points are the body\u0027s own statements and 26 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":"desktop/src/renderer/src/pages/TasksPage.tsx"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"d045fb8be1316fcee7a1b0c3ffe49321e84ff4d1abe612c4bd787a97d04a226f"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkAIBot._chat (cognitive 42): LinkAIBot._chat has cognitive complexity 42 (threshold 15). Drivers by points: if/else 23 (37 pts), boolean chains 3, error handling 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/linkai/link_ai_bot.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c8deb721b52b9f5a2a03cb51955a66aa1c61ab1fb12dff8ef07c7a116b8b67"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelScopeBot.reply_text_stream (cognitive 42): ModelScopeBot.reply_text_stream has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (32 pts), error handling 2 (4 pts), boolean chains 3, loops 1 (2 pts), ternaries 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/modelscope/modelscope_bot.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"414c00826354cd6d815b578276363d0265c55c2089d09e74e48b47796801dafb"}},{"ruleId":"D2","level":"warning","message":{"text":"ZHIPUAIBot._convert_messages_to_zhipu_format (cognitive 42): ZHIPUAIBot._convert_messages_to_zhipu_format has cognitive complexity 42 (threshold 15). Drivers by points: if/else 10 (28 pts), loops 3 (9 pts), ternaries 1 (4 pts), boolean chains 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":"models/zhipuai/zhipuai_bot.py"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23867adc633df73de53a418e261408f37d05d09f241b106d6451db5be30ef8e"}},{"ruleId":"D2","level":"warning","message":{"text":"openSearchKeyModal (cognitive 42): openSearchKeyModal has cognitive complexity 42 (threshold 15). Drivers by points: boolean chains 18, if/else 12 (16 pts), ternaries 7 (8 pts) (nesting depth added 5). Of this number, 35 points are the body\u0027s own statements and 7 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":"channel/web/static/js/views/models.js"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80781240cdd9337aa07c9571413f581b2eb349aa3127a49d612cc9142f8080e"}},{"ruleId":"D2","level":"warning","message":{"text":"rebuildCapabilityModelDropdown (cognitive 42): rebuildCapabilityModelDropdown has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (22 pts), boolean chains 13, ternaries 5 (7 pts) (nesting depth added 8). Of this number, 25 points are the body\u0027s own statements and 17 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":"channel/web/static/js/views/models.js"},"region":{"startLine":1698}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c5bdeb4c8a5f6b1c77ef0fd2421aae750b5db7a453d58c37bdabcce1ed18b4"}},{"ruleId":"D2","level":"warning","message":{"text":"FeiShuChanel.send (cognitive 41): FeiShuChanel.send has cognitive complexity 41 (threshold 15). Drivers by points: if/else 21 (32 pts), boolean chains 8, ternaries 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":"channel/feishu/feishu_channel.py"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"6047c755180fc28a1d2bff804b83abae16c205662ce4fd9378c4e08fbe7e7f23"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigHandler._save_settings (cognitive 41): ConfigHandler._save_settings has cognitive complexity 41 (threshold 15). Drivers by points: if/else 16 (26 pts), error handling 4 (7 pts), boolean chains 4, loops 3, ternaries 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":"channel/web/api/config.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff59fee4ee22a8c10922c1888be7ed0e29f6f6855e552bcb8df868860583110"}},{"ruleId":"D2","level":"warning","message":{"text":"WechatKfChannel.consume_callback (cognitive 41): WechatKfChannel.consume_callback has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (26 pts), error handling 2 (5 pts), loops 2 (5 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/wechat_kf/wechat_kf_channel.py"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"07028a6d049df43dbfe716725aa4b799a840ba29309df326e368fe18dc26f3cd"}},{"ruleId":"D2","level":"warning","message":{"text":"WeixinMessage.__init__ (cognitive 41): WeixinMessage.__init__ has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (37 pts), boolean chains 3, loops 1 (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":"channel/weixin/weixin_message.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f99638a6c8ec72138180f0f1e174e851db676976c108de7a80a8fa1eaaa3973"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextUsagePopover.ContextUsagePopover (cognitive 41): ContextUsagePopover.ContextUsagePopover has cognitive complexity 41 (threshold 15). Drivers by points: if/else 25, boolean chains 12, error handling 2, ternaries 2. Most of this is not in the body itself: 7 of the 41 points are its own statements and the rest belongs to 15 function items inside it that branch (doCompact, a function literal at line 90, onBtnClick, \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":"desktop/src/renderer/src/components/ContextUsagePopover.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6217dfb978e4f7c798607be6ccc7ebd9669a0dc82087818cc1f7b68243bc2f"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryPage.MemoryPage (cognitive 41): MemoryPage.MemoryPage has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 11 (23 pts), boolean chains 13, if/else 3, error handling 2 (nesting depth added 12). Of this number, 27 points are the body\u0027s own statements and 14 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/MemoryPage.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fec7718a83457f3c73694989492642dda874fa103ca87bd77a949117d1d0d3d"}},{"ruleId":"D2","level":"warning","message":{"text":"DingTalkChanel.startup (cognitive 40): DingTalkChanel.startup has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (25 pts), error handling 4 (8 pts), loops 3 (7 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":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0953bb5e6360478220c0876095908d8865087cff35951485f44c5017a3a5289"}},{"ruleId":"D2","level":"warning","message":{"text":"CowCliPlugin._skill_list_local (cognitive 40): CowCliPlugin._skill_list_local has cognitive complexity 40 (threshold 15). Drivers by points: if/else 13 (29 pts), loops 3 (6 pts), boolean chains 3, ternaries 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":"plugins/cow_cli/cow_cli.py"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"b738a2509a26c41de57e1f668e08c8f6d58a9abd459392652b83e0e771409f77"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentsPage.AgentProfilePane (cognitive 40): AgentsPage.AgentProfilePane has cognitive complexity 40 (threshold 15). Drivers by points: boolean chains 19, if/else 8 (9 pts), ternaries 8 (9 pts), loops 2 (3 pts) (nesting depth added 3). Most of this is not in the body itself: 13 of the 40 points are its own statements and the rest belongs to 9 function items inside it that branch (save, a function literal at line 421, 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":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2bba4a23446da40c960f08d45e6595846da894ad9ddbf4d2f4957eaa305b2e9"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentStreamExecutor._smart_compact_to_budget (cognitive 39): AgentStreamExecutor._smart_compact_to_budget has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (26 pts), loops 4 (9 pts), boolean chains 4 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent_stream.py"},"region":{"startLine":2748}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a106558326da2dbd6148e758c2ecbc4cfd9ad0cf713cad3d3c41b4c23139dc4"}},{"ruleId":"D2","level":"warning","message":{"text":"EnvConfig.execute (cognitive 39): EnvConfig.execute has cognitive complexity 39 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 4, loops 2 (4 pts), ternaries 1 (4 pts), error handling 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/env_config/env_config.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81499db68d721a27701a991b76f79ae6088fea5788b55721ab62ef25387eb8c"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillsHandler.POST (cognitive 39): SkillsHandler.POST has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 9, error handling 3 (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":"channel/web/api/skills.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"578d4c2b83f04a3172136febf5c2bac7a10e943d10505713423c191455e9809a"}},{"ruleId":"D2","level":"warning","message":{"text":"Role.on_handle_context (cognitive 39): Role.on_handle_context has cognitive complexity 39 (threshold 15). Drivers by points: if/else 16 (26 pts), loops 3 (11 pts), boolean chains 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/role/role.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"75046c2ee4c43a7e1709a580910490f008c5b7e7afb67d9ccbe9d0e7c8c24808"}},{"ruleId":"D2","level":"warning","message":{"text":"composer-input.chatInput.addEventListener(\u0022keydown\u0022) (cognitive 39): composer-input.chatInput.addEventListener(\u0022keydown\u0022) has cognitive complexity 39 (threshold 15). Drivers by points: if/else 18 (29 pts), boolean chains 10 (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":"channel/web/static/js/chat/composer-input.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a15a6b85e4611fbc16c9801dde31a783bec0e7744f015b82f5c611048affae"}},{"ruleId":"D2","level":"warning","message":{"text":"BasicSettings.BasicSettings (cognitive 39): BasicSettings.BasicSettings has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 55, ternaries 35 (47 pts), if/else 28 (30 pts), error handling 8 (nesting depth added 14). 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 (BasicSettings.BasicSettings::loadConfig) 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":"desktop/src/renderer/src/pages/settings/BasicSettings.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fe00173f273a2895c87c4610b6d89d4b29b83225fd0799d370b8954a19b315"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 39): (anonymous) has cognitive complexity 39 (threshold 15). Drivers by points: if/else 18 (29 pts), boolean chains 10 (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":"channel/web/static/js/chat/composer-input.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f89320cf9626b7aa4716fd43fbf61071aed54a65152564f49d27ddb451e90a5"}},{"ruleId":"D2","level":"warning","message":{"text":"createBotMessageEl (cognitive 39): createBotMessageEl has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 22, ternaries 9, if/else 8. Of this number, 37 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/render.js"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"382a7fe6ef6cf1dd750ee55193f078ffc9ce2355edc1c3f71557c882904dcee7"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchFiles._backend_python (cognitive 38): SearchFiles._backend_python has cognitive complexity 38 (threshold 15). Drivers by points: if/else 8 (24 pts), loops 3 (5 pts), ternaries 4 (5 pts), boolean chains 4 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/search_files/search_files.py"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9399996463aeb26de82b4f282d9ad29d84c18dad65455f0d1a52d4dd337172"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolManager._load_tools_from_directory (cognitive 38): ToolManager._load_tools_from_directory has cognitive complexity 38 (threshold 15). Drivers by points: if/else 6 (20 pts), error handling 3 (12 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/tool_manager.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"984050434b5c3c3aac493f438c1bd63c31b69491051e011657358afc62f32211"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginManager.scan_plugins (cognitive 38): PluginManager.scan_plugins has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (26 pts), loops 3 (8 pts), error handling 1 (4 pts) (nesting depth added 24). 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":"plugins/plugin_manager.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8f7cb626ac433d1a29799c63355ffa815e4bc0fd13470b3931cfcbde1aa872"}},{"ruleId":"D2","level":"warning","message":{"text":"agentStore.useAgentStore (cognitive 38): agentStore.useAgentStore has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (15 pts), error handling 6 (10 pts), boolean chains 9, ternaries 2 (3 pts), loops 1 (nesting depth added 10). None of this is in the body itself: all 38 points belong to 3 function literals inside it that branch (lines 99, 201, 186). 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":"desktop/src/renderer/src/store/agentStore.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78e01dafad6f7580c0b382c8eef073c925f28a8e4c5bcfad44e318c1dc59563"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsTab.VendorModal (cognitive 38): ModelsTab.VendorModal has cognitive complexity 38 (threshold 15). Drivers by points: boolean chains 18, ternaries 10 (11 pts), if/else 9 (nesting depth added 1). Of this number, 19 points are the body\u0027s own statements and 19 belong to 8 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":"desktop/src/renderer/src/pages/settings/ModelsTab.tsx"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a26067e5143e21ca20a1d6acb799315a4faa98557ee0d06d1356d97aa8901b9"}},{"ruleId":"D2","level":"warning","message":{"text":"initConfigView (cognitive 38): initConfigView has cognitive complexity 38 (threshold 15). Drivers by points: boolean chains 15, if/else 10 (13 pts), ternaries 6 (8 pts), other 2 (nesting depth added 5). Of this number, 29 points are the body\u0027s own statements and 9 belong to 9 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":"channel/web/static/js/views/config.js"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"65434ca3103378f1d793f1fca9906b637b41dd074f1c225db21036e16d22c1ef"}},{"ruleId":"D2","level":"warning","message":{"text":"onProviderChange (cognitive 38): onProviderChange has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (21 pts), ternaries 6 (10 pts), boolean chains 7 (nesting depth added 12). Of this number, 31 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":"channel/web/static/js/views/config.js"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9426b04f317b67fe41b7fe382ae50a8a68374e4c6cfa97e883d25dddb5f514f"}},{"ruleId":"D2","level":"warning","message":{"text":"openKnowledgeDialog (cognitive 38): openKnowledgeDialog has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 18, boolean chains 14, if/else 6. Of this number, 20 points are the body\u0027s own statements and 18 belong to 7 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":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"0342241fce62ea9c49c7a8263981f8579b355bf5e2f8ecb63f1f6301a5c571d2"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatChannel._decorate_reply (cognitive 37): ChatChannel._decorate_reply has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (31 pts), boolean chains 6 (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":"channel/chat_channel.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9556115f12d2be4c4dc369467d4247971256d2f82481dc5c7f1ffa0eb20d634"}},{"ruleId":"D2","level":"warning","message":{"text":"backup._validate_archive (cognitive 37): backup._validate_archive has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 8, loops 2 (3 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":"cli/commands/backup.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"845b166166aa948681248461e46fa31e954bbb07815083a9724d3d711eb73543"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudClient.on_config (cognitive 37): CloudClient.on_config has cognitive complexity 37 (threshold 15). Drivers by points: if/else 22 (28 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"common/cloud_client.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bab5aa35be711938898d0ba1c3140ea8ca129871048a401df13c7f2696d396f"}},{"ruleId":"D2","level":"warning","message":{"text":"reasoning_capabilities.get_reasoning_capability (cognitive 37): reasoning_capabilities.get_reasoning_capability has cognitive complexity 37 (threshold 15). Drivers by points: if/else 20 (32 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":"models/reasoning_capabilities.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee65ff3234fc5274108e4430958a5bb22260c335bc29a0ab568a0f6732fd9a30"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceSelector.WorkspaceSelector (cognitive 37): WorkspaceSelector.WorkspaceSelector has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14, boolean chains 12, ternaries 6 (8 pts), error handling 3 (nesting depth added 2). Most of this is not in the body itself: 12 of the 37 points are its own statements and the rest belongs to 10 function items inside it that branch (createProject, a function literal at line 37, a function literal at line 85, \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":"desktop/src/renderer/src/components/WorkspaceSelector.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b155f9bcb5dbb6a63b8691ddc101c0071c39cb9e1bea81d9679e8bf6b44a20b"}},{"ruleId":"D2","level":"warning","message":{"text":"saveModelConfig (cognitive 37): saveModelConfig has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (29 pts), ternaries 1 (4 pts), boolean chains 3, error handling 1 (nesting depth added 17). Most of this is not in the body itself: 13 of the 37 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 542, 537, 536, \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":"channel/web/static/js/views/config.js"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e57be99d5516c6358a42b0c55608054b9655c37377b6bc836b392cc719822e6"}},{"ruleId":"D2","level":"warning","message":{"text":"message_utils.compress_turn_to_text_only (cognitive 36): message_utils.compress_turn_to_text_only has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (29 pts), loops 2 (5 pts), boolean chains 2 (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":"agent/protocol/message_utils.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6977b1ed7a34b090b5d2bc31c3124e0ee42f06af3023b5d432dbead1d4a3d0"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.run_tasks (cognitive 36): runner.run_tasks has cognitive complexity 36 (threshold 15). Drivers by points: loops 6 (11 pts), if/else 6 (10 pts), ternaries 3 (10 pts), boolean chains 5 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/subagent/runner.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5fe067a0e8ab02f69817e0bd94431187109e01dbd1fd3200f585d9fae69489"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentInitializer._initialize_scheduler (cognitive 36): AgentInitializer._initialize_scheduler has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (23 pts), error handling 2 (5 pts), ternaries 1 (5 pts), loops 1 (2 pts), boolean chains 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":"bridge/agent_initializer.py"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d4960cfda60efe06d55aabda73d8599d28f0d4c6af08e942da15925e9dd509"}},{"ruleId":"D2","level":"warning","message":{"text":"WebChannel.upload_file (cognitive 36): WebChannel.upload_file has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 9, loops 1 (2 pts), error handling 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":"channel/web/core/channel.py"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c56d7bc4ef2a8deffab056a2369a27a2ebbf7087271891ad2207a0792dd1941"}},{"ruleId":"D2","level":"warning","message":{"text":"WebChannel.stream_response (cognitive 36): WebChannel.stream_response has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (25 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (3 pts), error handling 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":"channel/web/core/channel.py"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ce8da82251aa10b4c095aa4443303097f112279cac32dee2a6dee7c69d337d"}},{"ruleId":"D2","level":"warning","message":{"text":"WeixinChannel._qr_login (cognitive 36): WeixinChannel._qr_login has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (26 pts), error handling 3 (6 pts), boolean chains 3, 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":"channel/weixin/weixin_channel.py"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"979f9365c55ae8fcb9011d95adce5aa0fd203d92d7acdf56ac424323180da491"}},{"ruleId":"D2","level":"warning","message":{"text":"generate.resolve_size (cognitive 36): generate.resolve_size has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 6, loops 3 (6 pts), ternaries 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":"skills/image-generation/scripts/generate.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d97efacf9e198f1589db4161c90f3b4e043082df94f1544e8380e9cc3adaeb"}},{"ruleId":"D2","level":"warning","message":{"text":"ShareEditor.ShareEditor::save (cognitive 36): ShareEditor.ShareEditor::save has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 15, if/else 9 (10 pts), ternaries 7 (9 pts), error handling 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: 2 other methods here (ShareEditor.ShareEditor, ShareEditor.ShareEditor::fill) 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":"desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"6269f2760253886ec6f5e5b895442a7d1f288779087ec028b3e0362a22b7041f"}},{"ruleId":"D2","level":"warning","message":{"text":"executor.run_evolution_for_session (cognitive 35): executor.run_evolution_for_session has cognitive complexity 35 (threshold 15). Drivers by points: if/else 20 (22 pts), boolean chains 6, error handling 3 (5 pts), loops 1 (2 pts) (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":"agent/evolution/executor.py"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cdb1c6b01875cbc614f611dc384255218b8d13a0b85f26b044a0a554fd42d55"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscordChannel._on_message (cognitive 35): DiscordChannel._on_message has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (17 pts), ternaries 3 (8 pts), boolean chains 6, loops 1 (3 pts), error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/discord/discord_channel.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e2a374f8bbdbf5fbef5a1298a5d59af42dadd619c69af1fe8bf152bde7efc3"}},{"ruleId":"D2","level":"warning","message":{"text":"QQChannel._upload_rich_media_chunked (cognitive 35): QQChannel._upload_rich_media_chunked has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (14 pts), error handling 7 (10 pts), boolean chains 4, ternaries 2 (4 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":"channel/qq/qq_channel.py"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc06ab46ce58ef063ca677c6113c4f3db8bf2f99de32665ea3050bcfbdb3a51c"}},{"ruleId":"D2","level":"warning","message":{"text":"TelegramChannel._on_message (cognitive 35): TelegramChannel._on_message has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 8, ternaries 3 (8 pts), loops 1 (3 pts), 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61c35c618d6ecb0075853adfa1bf5f2e413950665d57229c73de21b1a0260a4"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsHandler._search_capability (cognitive 35): ModelsHandler._search_capability has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 14, if/else 8 (10 pts), ternaries 6 (10 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":"channel/web/api/models.py"},"region":{"startLine":1565}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3fd7f6958b031cbd8105f71bec3569f91f3205a3c92fba8a59c8e4c3639c7e"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsHandler._handle_discover_models (cognitive 35): ModelsHandler._handle_discover_models has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 16, if/else 10 (14 pts), ternaries 2 (4 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/models.py"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a34d7ffc52c34f28a7131782748fd84e4a33681ad94d612220f22b1f928c53"}},{"ruleId":"D2","level":"warning","message":{"text":"DashscopeBot.call_with_tools (cognitive 35): DashscopeBot.call_with_tools has cognitive complexity 35 (threshold 15). Drivers by points: if/else 19 (31 pts), boolean chains 3, 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":"models/dashscope/dashscope_bot.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc267fc48854f00b154c671f525f5d674a31dc4c6a5464f65e64daa1b60ff449"}},{"ruleId":"D2","level":"warning","message":{"text":"ZHIPUAIBot._handle_stream_response (cognitive 35): ZHIPUAIBot._handle_stream_response has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 6, error handling 2 (4 pts), 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":"models/zhipuai/zhipuai_bot.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"39460301e4ba7824f12103078c5ea776ce0b425b6780a7dac02d2451c5ffabc3"}},{"ruleId":"D2","level":"warning","message":{"text":"themes._ctVars (cognitive 35): themes._ctVars has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 11, ternaries 8 (10 pts), loops 1 (2 pts) (nesting depth added 4). Of this number, 28 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":"channel/web/static/js/core/themes.js"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08dd9860ce2c3109177acdb043a410650fd3ec1b244f91be1513084c5e5f441"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentDelegateTool._delegate (cognitive 34): AgentDelegateTool._delegate has cognitive complexity 34 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 14, ternaries 3, error handling 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":"agent/tools/agent_delegate/agent_delegate.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"023e4ea632f0437abf23040151f17548b55bcb39ff7f308041b624ede476cb45"}},{"ruleId":"D2","level":"warning","message":{"text":"channel_instances._explicit_instances (cognitive 34): channel_instances._explicit_instances has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 7, loops 3 (6 pts), ternaries 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":"channel/channel_instances.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f98fc0cec08ac2a29c8dfc8ca5ab34f6e859dd1a1e24b88583d8f8dd808382c"}},{"ruleId":"D2","level":"warning","message":{"text":"WeixinChannel._process_message (cognitive 34): WeixinChannel._process_message has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 5, loops 1 (3 pts), error handling 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":"channel/weixin/weixin_channel.py"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"0904e6ee7a61cae5006d94ca560cf085710ef5c3f7223216f67fc89a8cf0c315"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkAI.on_handle_context (cognitive 34): LinkAI.on_handle_context has cognitive complexity 34 (threshold 15). Drivers by points: if/else 18 (27 pts), boolean chains 7 (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":"plugins/linkai/linkai.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"81dd172b184d2117faee3777e1d0a6291614a042cf6526266e29628d4e5a47ea"}},{"ruleId":"D2","level":"warning","message":{"text":"MentionText.MentionText (cognitive 34): MentionText.MentionText has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 8, ternaries 4 (7 pts), loops 4 (5 pts) (nesting depth added 9). Most of this is not in the body itself: 1 of the 34 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 36, 26). 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":"desktop/src/renderer/src/components/MentionText.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e76d198bf797995c506a037480b8f3399e8e615370f50b551a8282fbcd1bdb"}},{"ruleId":"D2","level":"warning","message":{"text":"ShareDialogs.ShareLogsDialog (cognitive 34): ShareDialogs.ShareLogsDialog has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 10 (27 pts), boolean chains 4, if/else 3 (nesting depth added 17). Of this number, 21 points are the body\u0027s own statements and 13 belong to 4 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/shares/ShareDialogs.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"233c45237d63e9f101e58e03444106fb64cf02f2ad4920bca561a4e67f432f4d"}},{"ruleId":"D2","level":"warning","message":{"text":"createMd (cognitive 34): createMd has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 10, loops 2 (3 pts), ternaries 2 (3 pts), error handling 1 (2 pts) (nesting depth added 10). Most of this is not in the body itself: 4 of the 34 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 75, highlight, link_open, \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":"channel/web/static/js/core/markdown.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4faad6b4a4a7adde69740f3fd2961b55303ecb991ed7fb7f77c317bd13040dc8"}},{"ruleId":"D2","level":"warning","message":{"text":"saveShareEditor (cognitive 34): saveShareEditor has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 14, if/else 8 (9 pts), ternaries 8 (9 pts), error handling 2 (nesting depth added 2). Of this number, 21 points are the body\u0027s own statements and 13 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/shares.js"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d56c37d70a79dd5294cf95487d83b61f2e463043681148731f02f1fc81da56f"}},{"ruleId":"D2","level":"warning","message":{"text":"policy._split_process_substitutions (cognitive 33): policy._split_process_substitutions has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (24 pts), boolean chains 5, 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":"agent/permission/policy.py"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b08b6cad4e99f99de1afefdab587af1ae05f7ac72c23ae01d7071d99cbc41f"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentStreamExecutor._trim_messages (cognitive 33): AgentStreamExecutor._trim_messages has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (20 pts), loops 4 (7 pts), boolean chains 6 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent_stream.py"},"region":{"startLine":2901}}}],"partialFingerprints":{"codehealthFindingId/v1":"9875ed77f88cbc60a5499f2d025088e9de78e19717d5cfffbf6a7bf5f362c40f"}},{"ruleId":"D2","level":"warning","message":{"text":"SlackChannel._handle_event (cognitive 33): SlackChannel._handle_event has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (15 pts), ternaries 3 (8 pts), boolean chains 6, loops 1 (3 pts), error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/slack/slack_channel.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"43516d315856cefa79380b91309f9ba49f55fcda7d26eddf4d69b32d4db43740"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelsHandler._channel_instances_view (cognitive 33): ChannelsHandler._channel_instances_view has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 9, 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":"channel/web/api/channels.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1e32e1bb8942148b93bf148dbfcde5c827d511079b26b7ba1aa85dc426551b"}},{"ruleId":"D2","level":"warning","message":{"text":"responses_adapter.responses_to_chat_completion (cognitive 33): responses_adapter.responses_to_chat_completion has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 12, if/else 5 (10 pts), ternaries 2 (7 pts), loops 2 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/openai/responses_adapter.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b15f272c031a1a714e3590a5c6402fa86e319d6f27161887c7b5331e50ff9b9"}},{"ruleId":"D2","level":"warning","message":{"text":"installContextUsagePopover (cognitive 33): installContextUsagePopover has cognitive complexity 33 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 9, ternaries 4 (6 pts), error handling 1 (nesting depth added 3). Most of this is not in the body itself: 2 of the 33 points are its own statements and the rest belongs to 20 function items inside it that branch (a function literal at line 211, a function literal at line 265, _ctxShowCard, \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":"channel/web/static/js/chat/context-usage.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"831900761d367045f4c512162c9031dab562c62e696d1ad1dcf4a54f483666af"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationStore.delete_message_pair (cognitive 32): ConversationStore.delete_message_pair has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (5 pts), error handling 1 (4 pts), ternaries 2 (4 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":"agent/memory/conversation_store.py"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3622c9907bdf91c3fa2b4007f40b78cc9e60482ad7c3e1774179d74ef8c929e"}},{"ruleId":"D2","level":"warning","message":{"text":"config.should_include_skill (cognitive 32): config.should_include_skill has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (27 pts), loops 1 (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":"agent/skills/config.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"46404ad0bf6be76518080d846b2519d521bb7e2bb9df42405c593e395fe5c557"}},{"ruleId":"D2","level":"warning","message":{"text":"CowCliPlugin._config_set (cognitive 32): CowCliPlugin._config_set has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (21 pts), error handling 4 (5 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/cow_cli/cow_cli.py"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b71cf9b398df0f2c948df34ea8abd15891d447d6832fe06c939f9f0f54a1bb"}},{"ruleId":"D2","level":"warning","message":{"text":"index.setupIPC (cognitive 32): index.setupIPC has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (15 pts), ternaries 7 (8 pts), boolean chains 7, error handling 2 (nesting depth added 2). None of this is in the body itself: all 32 points belong to 12 function items inside it that branch (a function literal at line 760, a function literal at line 827, a function literal at line 844, \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":"desktop/src/main/index.ts"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0442ef4fb03eaafe64ec710acefaec745dda53dfe5e9ed13e0d9b223324522"}},{"ruleId":"D2","level":"warning","message":{"text":"TasksPage.RecordsView (cognitive 32): TasksPage.RecordsView has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 15, ternaries 5 (12 pts), error handling 3, if/else 2 (nesting depth added 7). Most of this is not in the body itself: 5 of the 32 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 475, loadMore, loadRuns, \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":"desktop/src/renderer/src/pages/TasksPage.tsx"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"df29835be35b9893744636cb551c98a204f7e05463acbd05d2cc55592ccfb51c"}},{"ruleId":"D2","level":"warning","message":{"text":"ArtifactPreview.ArtifactPreview (cognitive 32): ArtifactPreview.ArtifactPreview has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 19, if/else 7 (8 pts), ternaries 4 (5 pts) (nesting depth added 2). Of this number, 25 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/artifacts/ArtifactPreview.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68926dd48773aa84a27b0d6a4dff851dc29edd79c392decc41178fedd346e9b"}},{"ruleId":"D2","level":"warning","message":{"text":"integration._resolve_delivery_channel (cognitive 31): integration._resolve_delivery_channel has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (23 pts), loops 1 (4 pts), boolean chains 3, error handling 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":"agent/tools/scheduler/integration.py"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"358a79f0eae40c44841df3f4f6bbc52c8e24d0fff82f9e1fc7c79130b5bcb4d2"}},{"ruleId":"D2","level":"warning","message":{"text":"SchedulerTool._parse_schedule (cognitive 31): SchedulerTool._parse_schedule has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (26 pts), ternaries 2 (4 pts), error handling 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":"agent/tools/scheduler/scheduler_tool.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"efeaa1bfd2b0218dd0d474e72b538aea0561ca670acdc942c158850236b30b65"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelManager.start (cognitive 31): ChannelManager.start has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 5, error handling 2 (5 pts), loops 4, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c5aee2420bca6d834d7f9705fb695ae18d44df6a9ef043b8b3c2c05420c5d9"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigHandler.GET (cognitive 31): ConfigHandler.GET has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 7 (13 pts), boolean chains 7, if/else 4 (6 pts), loops 3, error handling 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":"channel/web/api/config.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2536ddb2821ebc8272066487d82eaae84953efe1a7a6c77a5fe89681ff7d4209"}},{"ruleId":"D2","level":"warning","message":{"text":"WeixinChannel._poll_loop (cognitive 31): WeixinChannel._poll_loop has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (20 pts), error handling 2 (5 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/weixin/weixin_channel.py"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cdb5bec18b466bd7c5fe07afad5c12dbf847f84b652b41c23cac0e0b7e604ff"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkAIProvider.generate (cognitive 31): LinkAIProvider.generate has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (15 pts), ternaries 3 (8 pts), error handling 1 (3 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":"skills/image-generation/scripts/generate.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4aeca3975fe385f0baf0a340c96b14c166337029433ad47bce33cfaafd6458a"}},{"ruleId":"D2","level":"warning","message":{"text":"QwenProvider.generate (cognitive 31): QwenProvider.generate has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 6, loops 3 (5 pts), error handling 1 (3 pts), ternaries 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":"skills/image-generation/scripts/generate.py"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c163a37ba400236377bd9c9cb460c148ec2467e56a874f30ac950cc35088b8"}},{"ruleId":"D2","level":"warning","message":{"text":"useBackend.useBackend (cognitive 31): useBackend.useBackend has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 11, ternaries 3 (4 pts) (nesting depth added 2). None of this is in the body itself: all 31 points belong to 10 function literals inside it that branch (lines 103, 74, 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":"desktop/src/renderer/src/hooks/useBackend.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3395e30d6b4780f2d8e2817721f92f1ae018cb4430df12c896ddf7b9aad520"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelSelector.CatalogModelSelector (cognitive 31): ModelSelector.CatalogModelSelector has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 18, ternaries 8, if/else 5. Most of this is not in the body itself: 11 of the 31 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 42, a function literal at line 106, a function literal at line 114, \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":"desktop/src/renderer/src/components/ModelSelector.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d87fc9e0e4ac74c6df42a2b63d4647d73d5ab27f18ec59051993058824ca37e"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelsPage.ChannelsPage (cognitive 31): ChannelsPage.ChannelsPage has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 17, if/else 7 (8 pts), ternaries 4 (5 pts), error handling 1 (nesting depth added 2). Most of this is not in the body itself: 10 of the 31 points are its own statements and the rest belongs to 11 function items inside it that branch (loadChannels, a function literal at line 146, a function literal at line 158, \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":"desktop/src/renderer/src/pages/ChannelsPage.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebef48b0b8c9f0bb47b215de8f1ee20a4118aeb1830a5ff10bfa4f2db46a6ec8"}},{"ruleId":"D2","level":"warning","message":{"text":"discoverCatalogModels (cognitive 31): discoverCatalogModels has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 9, ternaries 2, error handling 1 (nesting depth added 5). Most of this is not in the body itself: 14 of the 31 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 2721, 2753, 2731, \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":"channel/web/static/js/views/models.js"},"region":{"startLine":2694}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e9e6a37da37af95a14a2eae3a65257105da9b49fc46cb3589b04ba7c28d515"}},{"ruleId":"D2","level":"warning","message":{"text":"executor._workspace_snapshot (cognitive 30): executor._workspace_snapshot has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (14 pts), error handling 3 (9 pts), loops 3 (5 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":"agent/evolution/executor.py"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d147fe2dd4f6011e440e5b13cd72142345e6e9b8bd976d7c998fd2dcf9620dd"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatChannel._extract_and_send_images (cognitive 30): ChatChannel._extract_and_send_images has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 4 (6 pts), error handling 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":"channel/chat_channel.py"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"773d8910272a50771f9457c83eb2b38ae85b0f7c667572f29a23907fa8893cf6"}},{"ruleId":"D2","level":"warning","message":{"text":"TelegramChannel._async_send (cognitive 30): TelegramChannel._async_send has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 8, ternaries 4 (8 pts), error handling 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":"channel/telegram/telegram_channel.py"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"791a0fc0c250bcda300b3f88977dbe3cd81fe0f3c4bc36758cee5ad57e4c13db"}},{"ruleId":"D2","level":"warning","message":{"text":"IntegrationsHandler.PUT (cognitive 30): IntegrationsHandler.PUT has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 12, ternaries 2 (3 pts), error handling 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"channel/web/api/integrations.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e18d0883c5146f59ee55cd51a1a841bc88fbc9eb36e4f2f4d433843aaceb30"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsHandler._image_capability (cognitive 30): ModelsHandler._image_capability has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 6, loops 3 (6 pts), ternaries 2 (5 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":"channel/web/api/models.py"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d9c26245c659c37f4a794b08804cd6ab6348c06db8e6e342972247cab69d9c"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsHandler._handle_set_custom_provider (cognitive 30): ModelsHandler._handle_set_custom_provider has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 4, ternaries 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":"channel/web/api/models.py"},"region":{"startLine":2156}}}],"partialFingerprints":{"codehealthFindingId/v1":"470723fa0948fa2ece7a973c985f959ea0d358953beafe2553e675b8a2b5dc64"}},{"ruleId":"D2","level":"warning","message":{"text":"openai_compat._request_values (cognitive 30): openai_compat._request_values has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 11, loops 1, 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, 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":"channel/web/api/openai_compat.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c78df44ab1d2facc0458a0949386474ea6b6385a43e79e2d193db77bb8a09d0"}},{"ruleId":"D2","level":"warning","message":{"text":"WebChannel.startup (cognitive 30): WebChannel.startup has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 5 (9 pts), boolean chains 6, loops 2 (3 pts), ternaries 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba3eee7cced53016ee5bebcd1bff384e48d514120d88262d3d879565ab4f4c1"}},{"ruleId":"D2","level":"warning","message":{"text":"link_ai_bot._linkai_call_with_tools (cognitive 30): link_ai_bot._linkai_call_with_tools has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (21 pts), boolean chains 4, ternaries 2 (3 pts), error handling 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/linkai/link_ai_bot.py"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bde6c26c9b8414b0e7066da36cc7de483efb5075f8c8ea7b940fdefba1fd70f"}},{"ruleId":"D2","level":"warning","message":{"text":"MinimaxProvider.generate (cognitive 30): MinimaxProvider.generate has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 8, loops 3 (4 pts), error handling 1 (3 pts), ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/image-generation/scripts/generate.py"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8dd77a75017868edf14378f431dd9cd51f118d82ccc8003a9c2399f7764f8a"}},{"ruleId":"D2","level":"warning","message":{"text":"shares.shareCardHtml (cognitive 30): shares.shareCardHtml has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 13, ternaries 8 (11 pts), if/else 6 (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":"channel/web/static/js/views/shares.js"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ec010d547151b3d230dd207938c8fbcadb44f1951ae9f0f75f4564daf6dc64"}},{"ruleId":"D2","level":"warning","message":{"text":"ShareEditor.ShareEditor (cognitive 30): ShareEditor.ShareEditor has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 55, ternaries 33 (36 pts), if/else 16 (17 pts), loops 2 (3 pts), error handling 2 (nesting depth added 5). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 2 other methods here (ShareEditor.ShareEditor::fill, ShareEditor.ShareEditor::save) 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":"desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"94557abc9449af7a09d861fb7e662aa9e2aed4f9074256284adc83fad9a8bd5b"}},{"ruleId":"D2","level":"warning","message":{"text":"fetch (cognitive 30): fetch has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 6, ternaries 3 (5 pts), error handling 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":"channel/web/static/js/chat/state.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd1960fc1707f7868b2e9cfeb8a09518d1c975dbc2eebc5e939756be9fc0bd3"}},{"ruleId":"D2","level":"warning","message":{"text":"_meItemHTML (cognitive 30): _meItemHTML has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 11 (19 pts), if/else 6, boolean chains 5 (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":"channel/web/static/js/views/menu-editor.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"89333ebb04f8f84f758db353d0a0fb2a29fce5ed5ffe3a4f6308fbde7d3271c8"}},{"ruleId":"D2","level":"warning","message":{"text":"saveCapability (cognitive 30): saveCapability has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 9, ternaries 5 (8 pts) (nesting depth added 7). Of this number, 27 points are the body\u0027s own statements and 3 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":"channel/web/static/js/views/models.js"},"region":{"startLine":1938}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5ba2e9a54492fbe07ca4eb14940fdfd0202bfe1ed59ae17b4d3efb8a7a98eb"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentStreamExecutor._filter_think_stream (cognitive 29): AgentStreamExecutor._filter_think_stream has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (24 pts), ternaries 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent_stream.py"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"349ffe596dd8737e075873b110572056ce57a1288496fa6848429f02a567efa7"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillLoader._load_skill_from_file (cognitive 29): SkillLoader._load_skill_from_file has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (17 pts), ternaries 3 (6 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/skills/loader.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51541b47ecf63f00211ef9c966a81bbf3f6039922bd3a8cbf3ff0de27bba991"}},{"ruleId":"D2","level":"warning","message":{"text":"McpClient._streamable_http_post (cognitive 29): McpClient._streamable_http_post has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (14 pts), error handling 4 (8 pts), boolean chains 6, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/mcp/mcp_client.py"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"c146d2f176fc99f8723855eaed88a23e254110be69d28398c24d6de23d1586eb"}},{"ruleId":"D2","level":"warning","message":{"text":"dingtalk_message.download_image_file (cognitive 29): dingtalk_message.download_image_file has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (22 pts), error handling 2 (4 pts), boolean chains 3 (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":"channel/dingtalk/dingtalk_message.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b49b98f54f58b07ec67248e97c6757b370c880ed836c0b16b5813dde7cfad0"}},{"ruleId":"D2","level":"warning","message":{"text":"HistoryHandler.GET (cognitive 29): HistoryHandler.GET has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 4 (7 pts), boolean chains 6, ternaries 3 (4 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":"channel/web/api/sessions.py"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab8426b43333517579b77d90567df99b884083e08769641ea0da16ea2a5e1c1"}},{"ruleId":"D2","level":"warning","message":{"text":"WecomBotMessage.__init__ (cognitive 29): WecomBotMessage.__init__ has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (13 pts), error handling 2 (6 pts), boolean chains 4, loops 2 (4 pts), ternaries 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/wecom_bot/wecom_bot_message.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b615f23d1bdfa9a43e6d105d16a0f8390c173d8bf7bc85cfa36b2f16d410f46"}},{"ruleId":"D2","level":"warning","message":{"text":"skill._route_install (cognitive 29): skill._route_install has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16 (21 pts), ternaries 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":"cli/commands/skill.py"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71d8444cafd71a7157f95105a224766fd21b98f346f9d9919bafeb78ec20602"}},{"ruleId":"D2","level":"warning","message":{"text":"DeepSeekBot.call_with_tools (cognitive 29): DeepSeekBot.call_with_tools has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 5, loops 1 (2 pts), error handling 1, 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, 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da7307dc8e0c3b9e0d0d761c42ed38ea660374d0790bd352cd3181ef6672087"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelScopeBot._convert_messages_for_modelscope (cognitive 29): ModelScopeBot._convert_messages_for_modelscope has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (25 pts), loops 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":"models/modelscope/modelscope_bot.py"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c78e25f3d65a35cfec9c0dc25639c57f07cb26dd0d9bf26dbea28248761a82"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIHTTPClient._stream_chat (cognitive 29): OpenAIHTTPClient._stream_chat has cognitive complexity 29 (threshold 15). Drivers by points: error handling 9 (12 pts), if/else 6 (12 pts), boolean chains 4, 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":"models/openai/openai_http_client.py"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"a457d0125e956c5e94c8c3826005fc1134dd05d6c407cb6455d1a05fc40d8d94"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkAI._process_admin_cmd (cognitive 29): LinkAI._process_admin_cmd has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 7 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/linkai/linkai.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5780b58a8f5f8d67ba7e929d814583665155f8ba5c662ebc9d11de8a3be03b"}},{"ruleId":"D2","level":"warning","message":{"text":"MinimaxVoice.textToVoice (cognitive 29): MinimaxVoice.textToVoice has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (15 pts), error handling 3 (6 pts), boolean chains 5, ternaries 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":"voice/minimax/minimax_voice.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"62baca0e13c775a234288d64676579504ee15bb52a38a8eea7b2585284749a61"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledge.renderKnowledgeGraph (cognitive 29): knowledge.renderKnowledgeGraph has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 16, if/else 9, ternaries 4. Most of this is not in the body itself: 1 of the 29 points is its own statement and the rest belongs to 13 function items inside it that branch (a function literal at line 1034, a function literal at line 1035, a function literal at line 1061, \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":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"7851302c2008b6276d02864390b09fcddf75fbc9a660645c362737092076aad1"}},{"ruleId":"D2","level":"warning","message":{"text":"chatStore.attachmentsFromSteps (cognitive 29): chatStore.attachmentsFromSteps has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 5 (12 pts), boolean chains 8, if/else 3 (6 pts), error handling 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":"desktop/src/renderer/src/store/chatStore.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5fd6c55abe19af2cd4ac10fee1c79023e585dbd5cf3123737f1dd3985d3206"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeAddModal.ThemeAddModal (cognitive 29): ThemeAddModal.ThemeAddModal has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14, boolean chains 6, ternaries 5 (6 pts), loops 2, error handling 1 (nesting depth added 1). Most of this is not in the body itself: 8 of the 29 points are its own statements and the rest belongs to 9 function items inside it that branch (onDrop, runImport, askAgent, \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":"desktop/src/renderer/src/components/ThemeAddModal.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0817ac45a24043592634b4c0b91517f0f0021be4d812293203483179b885b15"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspacePanel.WorkspacePanel (cognitive 29): WorkspacePanel.WorkspacePanel has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 18, if/else 6, ternaries 5. Of this number, 19 points are the body\u0027s own statements and 10 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":"desktop/src/renderer/src/components/WorkspacePanel.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b0108bd625dfcd89cfe2c184724ae1f12dac5bb2ca0d837249ad93295794c8"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelCatalogEditor.ModelCatalogEditor::discover (cognitive 29): ModelCatalogEditor.ModelCatalogEditor::discover has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 12, ternaries 7 (12 pts), if/else 2 (3 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":"desktop/src/renderer/src/pages/settings/ModelCatalogEditor.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e55a7b0c66c441ccd43f844f9543c95a4a8c29d3244c9402d948790dac855f"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsTab.CustomProviderModal (cognitive 29): ModelsTab.CustomProviderModal has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 15, if/else 10, ternaries 4. Most of this is not in the body itself: 10 of the 29 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 663, save, remove, \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":"desktop/src/renderer/src/pages/settings/ModelsTab.tsx"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9aa7f034faa07656b0bc4328dfc92719c029c70c5b85fde7c76c1e7905373e"}},{"ruleId":"D2","level":"warning","message":{"text":"switchFeishuMode (cognitive 29): switchFeishuMode has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 5 (10 pts), boolean chains 7 (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":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a676a0a595f400e8edf135a3ac2b9dad0c2e0671bd924f14d0ec243030d2196"}},{"ruleId":"D2","level":"warning","message":{"text":"switchWecomBotMode (cognitive 29): switchWecomBotMode has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 5 (10 pts), boolean chains 7 (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":"channel/web/static/js/views/channels-wecom.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08bfacf05a3ffe0132e0d4d851a3446bc3de09f92fec0de401031a3d4dbc80e"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationStore._migrate (cognitive 28): ConversationStore._migrate has cognitive complexity 28 (threshold 15). Drivers by points: error handling 10 (19 pts), if/else 9 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":2567}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c46b5b7cb587a6696d4a3329cc2dac0ffe23d04a15d2e99a829c36ca5199fc1"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryFlushManager.deep_dream (cognitive 28): MemoryFlushManager.deep_dream has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (16 pts), error handling 4 (7 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":"agent/memory/summarizer.py"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab6c1077712a782632ddca6a6648dca67b7fecb1dc18d3556603fcc54fbe705"}},{"ruleId":"D2","level":"warning","message":{"text":"policy._check_git_read_only (cognitive 28): policy._check_git_read_only has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (19 pts), ternaries 3 (4 pts), boolean chains 3, 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":"agent/permission/policy.py"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"9caec33d502e6f4243bcfce79c6ff904a38fdfc9897cb966f1d3748dcb9f6bbc"}},{"ruleId":"D2","level":"warning","message":{"text":"policy._workspace_write_paths (cognitive 28): policy._workspace_write_paths has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 3 (9 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/permission/policy.py"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"384249a5f504218044260132704a90c0be4cbf573ae92cf88f3c9e68175c8ea5"}},{"ruleId":"D2","level":"warning","message":{"text":"tool_retrieval.build_retrieval_query (cognitive 28): tool_retrieval.build_retrieval_query has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 2 (4 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/mcp/tool_retrieval.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbdd0b474664f096f9e55809d8263812bc605b2dada49add16d2126b2b00df56"}},{"ruleId":"D2","level":"warning","message":{"text":"integration._migrate_legacy_task_stores (cognitive 28): integration._migrate_legacy_task_stores has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 3 (5 pts), loops 4 (5 pts), boolean chains 2, ternaries 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":"agent/tools/scheduler/integration.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0ba099d777beca918bb94d1811adae3e110817f07412f256e410fc3ce07515"}},{"ruleId":"D2","level":"warning","message":{"text":"integration._execute_skill_call (cognitive 28): integration._execute_skill_call has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 7, error handling 3, ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/integration.py"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f4a29206db1d57a650dd7cd4799abd60a49bb6819b89ed9c9c65c1aa26f0b7"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolManager.sync_mcp_into_agent (cognitive 28): ToolManager.sync_mcp_into_agent has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 3 (6 pts), boolean chains 5 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/tool_manager.py"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"af021f46905a1cb26d258aaab444ee6fcc628f5af2270a6c277b613e945f4168"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelManager.stop (cognitive 28): ChannelManager.stop has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 3, error handling 1 (3 pts), loops 2, ternaries 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":"app.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e798e72ab6fa77baf5df5e6172053badad7df0fb5e6acca79dedbe26ce56212"}},{"ruleId":"D2","level":"warning","message":{"text":"TelegramChannel._parse_message (cognitive 28): TelegramChannel._parse_message has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 5 (10 pts), boolean chains 7 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d9306350cdc65a4a09bc4d988712df7d59ef9acb169e6e1ecb628b5b9044be"}},{"ruleId":"D2","level":"warning","message":{"text":"menu._clean_item (cognitive 28): menu._clean_item has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 11, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/menu.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a92a65f2e5e73bdaad899ebd100124b62c5538f31efeb962a395ef002a729a"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsHandler._provider_overview (cognitive 28): ModelsHandler._provider_overview has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 10, ternaries 5 (10 pts), if/else 3 (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":"channel/web/api/models.py"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5a1cf6cc8033bd63cf6671a4d6119b6607e43a9574ba933f603bf26e0baafc"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsHandler._set_chat_fallback (cognitive 28): ModelsHandler._set_chat_fallback has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 9, error handling 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/models.py"},"region":{"startLine":2494}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eafacf17645e164bec5ed927ebafdf8f5711a4d72bca46fad191df6d869571e"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsHandler._handle_set_search_credential (cognitive 28): ModelsHandler._handle_set_search_credential has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 7 (10 pts), boolean chains 6 (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":"channel/web/api/models.py"},"region":{"startLine":2793}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d1a2a277a84dd6dc1e51df67fdf716b21af19c5978ce3ea7c254cec53002f6"}},{"ruleId":"D2","level":"warning","message":{"text":"SchedulerCreateHandler.POST (cognitive 28): SchedulerCreateHandler.POST has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 13, 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":"channel/web/api/scheduler.py"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a653bcc4536fbc324e70622533c07393c66e7a15861bc7ff44cef43b03de913"}},{"ruleId":"D2","level":"warning","message":{"text":"wecom_bot_message._guess_ext_from_bytes (cognitive 28): wecom_bot_message._guess_ext_from_bytes has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 2 (5 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":"channel/wecom_bot/wecom_bot_message.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a25566aba79cfd960dbda9f7a7520702299a4ca1ebb3e743b442afb2d180a9"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudClient._handle_channel_sync (cognitive 28): CloudClient._handle_channel_sync has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 7, error handling 1 (2 pts), loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/cloud_client.py"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55260eb29550e0f6dc3f5189526bcd11914f7a08918e0393e82d8b66c35d7cc"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureChatGPTBot.create_img (cognitive 28): AzureChatGPTBot.create_img has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 4 (9 pts), boolean chains 5, 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":"models/chatgpt/chat_gpt_bot.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90a192f918b5a3565760ef5c851d0e05b890d23e981d22fee629e0d85eb7039"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeAPIBot.reply_text (cognitive 28): ClaudeAPIBot.reply_text has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 2, loops 2, error handling 1, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/claudeapi/claude_api_bot.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"66df26c046fda0c879158caf5e4ea60d0b457b00762a5f195b06180ea04d332f"}},{"ruleId":"D2","level":"warning","message":{"text":"MimoBot.call_with_tools (cognitive 28): MimoBot.call_with_tools has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (19 pts), ternaries 2 (4 pts), boolean chains 2, 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":"models/mimo/mimo_bot.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b296b5f0193dd1e3d939fa4d7d5603b3dfb27d83cae2bfc2eac476658d7cd8"}},{"ruleId":"D2","level":"warning","message":{"text":"MJBot.process_mj_task (cognitive 28): MJBot.process_mj_task has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 5, 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":"plugins/linkai/midjourney.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c57c1758c8a024c49a62d24dfceab12709687d21d25224ee93c63b155a229c"}},{"ruleId":"D2","level":"warning","message":{"text":"SeedreamProvider.generate (cognitive 28): SeedreamProvider.generate has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4, ternaries 2 (4 pts), error handling 1 (3 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":"skills/image-generation/scripts/generate.py"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"339bd56cf554942337d12d81a5e85eaade02379c1f911b9d4fdbafc88fa78aea"}},{"ruleId":"D2","level":"warning","message":{"text":"PythonBackend.start (cognitive 28): PythonBackend.start has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (15 pts), error handling 3 (6 pts), boolean chains 5, loops 1, ternaries 1 (nesting depth added 5). Of this number, 14 points are the body\u0027s own statements and 14 belong to 3 function items inside it that branch. To reduce it, 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":"desktop/src/main/python-manager.ts"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db257471a230f2b75f26d3d462f0b5c9372770b2590348b8b68b5e2fca1c3f7"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillCreateForm.SkillCreateForm (cognitive 28): SkillCreateForm.SkillCreateForm has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 6 (9 pts), boolean chains 8, error handling 1 (nesting depth added 4). Most of this is not in the body itself: 11 of the 28 points are its own statements and the rest belongs to 7 function items inside it that branch (submit, a function literal at line 128, a function literal at line 122, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/skills/SkillCreateForm.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4758966deb596e9f5da0b3bfa9cc2b5ce5768a8b0a1166f4c2cea6ff67dfc070"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelTeamSelect.ChannelTeamSelect (cognitive 28): ChannelTeamSelect.ChannelTeamSelect has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 13, ternaries 7 (9 pts), if/else 6 (nesting depth added 2). Of this number, 17 points are the body\u0027s own statements and 11 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, 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":"desktop/src/renderer/src/components/ChannelTeamSelect.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa9eef565a189d124453848f34aec0472db09b3c0b392fe3d7ba3f78543d140"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatChannel._generate_reply (cognitive 27): ChatChannel._generate_reply has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (15 pts), error handling 2 (7 pts), loops 1 (3 pts), boolean chains 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":"channel/chat_channel.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"11bdda191478f7fe98ba15318b463fe91a1595ca6fc63f8adf66d6a3fb86131d"}},{"ruleId":"D2","level":"warning","message":{"text":"DingTalkChanel.handle_group (cognitive 27): DingTalkChanel.handle_group has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 3, 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":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e7ff2accb0388cbc984a6cc20a19aa952fbefe0edbe8ac1f66146ee0ee6511"}},{"ruleId":"D2","level":"warning","message":{"text":"feishu_scheduler_card.build_scheduler_card (cognitive 27): feishu_scheduler_card.build_scheduler_card has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 4 (7 pts), boolean chains 6, 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":"channel/feishu/feishu_scheduler_card.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5532d43861a416749e96bf5d8ea597be0112695b3f00d28c4c2ec5ab7239b67"}},{"ruleId":"D2","level":"warning","message":{"text":"QQChannel._handle_msg_event (cognitive 27): QQChannel._handle_msg_event has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 1 (3 pts), ternaries 1 (3 pts), boolean chains 2, 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":"channel/qq/qq_channel.py"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff21fa02d8d28a9bf398cc44fed0388596c67f2c5bbaaacb3f1b9ab095ad6933"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsHandler._embedding_capability (cognitive 27): ModelsHandler._embedding_capability has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 6, 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":"channel/web/api/models.py"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ebd43b26cee00e79a07879ae913a270560b6dbdc6fc89c0c436defb5109592"}},{"ruleId":"D2","level":"warning","message":{"text":"sessions._list_sessions_across_agents (cognitive 27): sessions._list_sessions_across_agents has cognitive complexity 27 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 4 (6 pts), ternaries 3 (5 pts), boolean chains 4, error handling 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":"channel/web/api/sessions.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed988468d3f022ea39216998cb521e4fcb49b51fdb917bfe6e942e9669f212c"}},{"ruleId":"D2","level":"warning","message":{"text":"GuestPages.history (cognitive 27): GuestPages.history has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 9, loops 2 (4 pts), ternaries 1 (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":"channel/web/core/guest_pages.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59391cebf6a28273c682c884c6b09f791398ba22025ef652ae092f7fb9b5399"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeAPIBot.call_with_tools (cognitive 27): ClaudeAPIBot.call_with_tools has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 5, ternaries 1 (3 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":"models/claudeapi/claude_api_bot.py"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ac6ba1fcf8e56c564ec84e228ec14859102ad519a5c5561208996551f414aa"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace.wsRenderPreview (cognitive 27): workspace.wsRenderPreview has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 8, error handling 1 (2 pts) (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":"channel/web/static/js/workspace.js"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"20bced7f7347ba8b2a96f00238635fa2f4e44189994db7472a5ff773ee1a90e4"}},{"ruleId":"D2","level":"warning","message":{"text":"OnboardingWizard.OnboardingWizard (cognitive 27): OnboardingWizard.OnboardingWizard has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 17, ternaries 5 (7 pts), if/else 2, error handling 1 (nesting depth added 2). Of this number, 18 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":"desktop/src/renderer/src/components/OnboardingWizard.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf56f3dcf75301eac0cadd1fe30ceac92a4cce3f80dcf416ab028ba7eafebefd"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsTab.SearchKeyModal (cognitive 27): ModelsTab.SearchKeyModal has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 9, ternaries 7 (8 pts) (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 3 function items inside it that branch (handleSave, a function literal at line 1241, a function literal at line 1175). 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":"desktop/src/renderer/src/pages/settings/ModelsTab.tsx"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a44aba94616abde96acc0c69b3a190867f3ac11a42506a28f01f9ff33773f3"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelsPage.ChannelCard (cognitive 27): ChannelsPage.ChannelCard has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 25, ternaries 13 (17 pts), if/else 12 (14 pts), error handling 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (ChannelsPage.ChannelCard::run) 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":"desktop/src/renderer/src/pages/ChannelsPage.tsx"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5c0a071d0909e0c0cd4e5745ab51687ab6fbc26a24e5052c91287e78f21afb"}},{"ruleId":"D2","level":"warning","message":{"text":"setupMicButton (cognitive 27): setupMicButton has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10, boolean chains 7, ternaries 6 (7 pts), error handling 3 (nesting depth added 1). Most of this is not in the body itself: 2 of the 27 points are its own statements and the rest belongs to 15 function items inside it that branch (setState, start, start::onstop, \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":"channel/web/static/guest/guest.js"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ea6c80d7f5c7d1ecd9a548e954af143640da5818682ba7488d4fcc0fdd649a"}},{"ruleId":"D2","level":"warning","message":{"text":"_ctNormalize (cognitive 27): _ctNormalize has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 19, if/else 6, 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":"channel/web/static/js/core/themes.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"57729896b3273297d35768763788fa0c498edfa9ef05f773495d13ab2eff8f22"}},{"ruleId":"D2","level":"warning","message":{"text":"initDropdown (cognitive 27): initDropdown has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 6, ternaries 3 (4 pts) (nesting depth added 5). Most of this is not in the body itself: 3 of the 27 points are its own statements and the rest belongs to 8 function items inside it that branch (render, a function literal at line 52, paintFace, \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":"channel/web/static/js/views/config.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b47c5ad169b528162e253c0c4a2dc05b920b329aac0f7d8658a77e2edb63b9e"}},{"ruleId":"D2","level":"warning","message":{"text":"_fillShareEditor (cognitive 27): _fillShareEditor has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 15, ternaries 12. Of this number, 24 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/shares.js"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"812616eae8ffff90a8cd9e71007cca87b439792a3e0f1d98d9345c99776b9d37"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentAdminService.update_agent (cognitive 26): AgentAdminService.update_agent has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 11, if/else 8 (9 pts), boolean chains 6 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/admin.py"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"6101bf538baad5267266f9517f7a79456bd0d8f2c90275d54bf5b3a2bf162a47"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation_store._resolve_global_binding (cognitive 26): conversation_store._resolve_global_binding has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 3 (9 pts), error handling 3 (5 pts), boolean chains 2, loops 1 (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":"agent/memory/conversation_store.py"},"region":{"startLine":2789}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca17605e3945490e33e68eaed02642a48ec43f672061d9c1ae1bd38cff27f874"}},{"ruleId":"D2","level":"warning","message":{"text":"Agent.get_context_usage (cognitive 26): Agent.get_context_usage has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (16 pts), error handling 3 (4 pts), boolean chains 3, ternaries 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":"agent/protocol/agent.py"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c369a940020c1d113fcc6e346fa21d2ba07d5b8365de17dacbde635c66d911f"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentStreamExecutor._check_consecutive_failures (cognitive 26): AgentStreamExecutor._check_consecutive_failures has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (21 pts), loops 3, boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent_stream.py"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9a3d9c9cdee7942c686fb726670b399cec85fe98bf1af2132bf0c0a6b39e85"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentStreamExecutor._execute_tool (cognitive 26): AgentStreamExecutor._execute_tool has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (16 pts), ternaries 3 (4 pts), boolean chains 3, error handling 2 (3 pts) (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":"agent/protocol/agent_stream.py"},"region":{"startLine":2364}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4906b8c755519877ae39640d86560f43056da623746db17857dd1aa3531f07"}},{"ruleId":"D2","level":"warning","message":{"text":"McpClient._read_sse_response (cognitive 26): McpClient._read_sse_response has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (19 pts), error handling 1 (4 pts), boolean chains 1, loops 1, ternaries 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":"agent/tools/mcp/mcp_client.py"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b6d26a9b210484e9596e374a36e0b7de92bc00db781f0a144b24e11595d21f"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentLLMModel.call_stream (cognitive 26): AgentLLMModel.call_stream has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 2, loops 1 (2 pts), ternaries 1 (2 pts), error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_bridge.py"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec626e0df77d3651b32286eb6a56782895fdc0f08242454b04d8e8649edb8b3"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentBridge._migrate_config_to_env (cognitive 26): AgentBridge._migrate_config_to_env has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 3 (5 pts), error handling 2 (4 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_bridge.py"},"region":{"startLine":1999}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b76ee85eeebb96dc3a07fcc6504b1e3dc735af08cccdca914dd2a4497b692cc"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentInitializer._migrate_config_to_env (cognitive 26): AgentInitializer._migrate_config_to_env has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 3 (5 pts), error handling 2 (4 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_initializer.py"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32b7a647d34d6ce80dd62789a3010590dc6a6004703d4b9073ad20474e0e0ff"}},{"ruleId":"D2","level":"warning","message":{"text":"TerminalChannel.send (cognitive 26): TerminalChannel.send has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (17 pts), error handling 2 (4 pts), loops 1 (2 pts), ternaries 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":"channel/terminal/terminal_channel.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe404bd6bf1381fe0cb342fb8a80d8bac2b95d19f326f707db18b71c453a51a"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsHandler._vision_capability (cognitive 26): ModelsHandler._vision_capability has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 6, ternaries 2 (5 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/models.py"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2fba9b8ce78c85acd01cafa1479d0d3f144a2e98d04a5b21cf6110a10b63318"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsHandler._set_chat (cognitive 26): ModelsHandler._set_chat has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 5, loops 1 (3 pts), ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/models.py"},"region":{"startLine":2412}}}],"partialFingerprints":{"codehealthFindingId/v1":"464660e7ea90815ded05f38557a5640425baa8dc9070fcdd92c96c2476cde050"}},{"ruleId":"D2","level":"warning","message":{"text":"sessions._artifacts_from_steps (cognitive 26): sessions._artifacts_from_steps has cognitive complexity 26 (threshold 15). Drivers by points: if/else 4 (11 pts), ternaries 3 (9 pts), boolean chains 3, 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":"channel/web/api/sessions.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a823f5c515b3430d623b69d9e26509624f7351fd0ec469df7152625bc398c3c2"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceResolveHandler.GET (cognitive 26): WorkspaceResolveHandler.GET has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 6, error handling 3 (4 pts), ternaries 2 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/workspace.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57e2cfde6c12afb2b8c8dd041cf13931865823c4d3ee054ee91a112cd5b52b6"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudClient.on_chat (cognitive 26): CloudClient.on_chat has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 9, ternaries 1 (2 pts), error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/cloud_client.py"},"region":{"startLine":1464}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4144a179547f5459671e7d10157e4706ff4a6733a617d11624838fd71c6b49"}},{"ruleId":"D2","level":"warning","message":{"text":"link_ai_bot._linkai_convert_messages_to_openai_format (cognitive 26): link_ai_bot._linkai_convert_messages_to_openai_format has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 4, loops 3 (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":"models/linkai/link_ai_bot.py"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"624edd8f416ad94bb5f5d23e383849eeb6ee6f686c0355b805b45cc66bda96f0"}},{"ruleId":"D2","level":"warning","message":{"text":"responses_adapter.messages_to_input (cognitive 26): responses_adapter.messages_to_input has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 9, loops 2 (4 pts), ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/openai/responses_adapter.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b4aad69628a26de08d374409e2d8bc697a812e5adb9b232bec9ca6e1d399ba"}},{"ruleId":"D2","level":"warning","message":{"text":"shares.shareTurnHtml (cognitive 26): shares.shareTurnHtml has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 11 (14 pts), boolean chains 9, if/else 3 (nesting depth added 3). Of this number, 20 points are the body\u0027s own statements and 6 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":"channel/web/static/js/views/shares.js"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2543cd92c73c3baf24ab5aee6efa9628089d748d96ee2991fedcb9bf0f3adc"}},{"ruleId":"D2","level":"warning","message":{"text":"check-load-order.scripts.forEach() (cognitive 26): check-load-order.scripts.forEach() has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 2 (7 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 12). Of this number, 15 points are the body\u0027s own statements and 11 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":"channel/web/tools/check-load-order.mjs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c50477f76a5388bdbe3b9e3495939193e0d1407800ad560ceec8a6c96abc52c"}},{"ruleId":"D2","level":"warning","message":{"text":"GuestSharesCard.GuestSharesCard (cognitive 26): GuestSharesCard.GuestSharesCard has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 9 (12 pts), boolean chains 6, if/else 6, error handling 2 (nesting depth added 3). Most of this is not in the body itself: 8 of the 26 points are its own statements and the rest belongs to 9 function items inside it that branch (runAction, a function literal at line 297, toggleFeature, \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":"desktop/src/renderer/src/pages/settings/shares/GuestSharesCard.tsx"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"60df7d1c616e78f56eec1ce89e54cd2365f205c72eb94885fd1589afb6f350b7"}},{"ruleId":"D2","level":"warning","message":{"text":"TasksPage.RunDetailModal (cognitive 26): TasksPage.RunDetailModal has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 15, ternaries 7 (10 pts), if/else 1 (nesting depth added 3). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/TasksPage.tsx"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d158810686511df9f79e9f658dc37261f525b6b255e9c85c22051899dc003a"}},{"ruleId":"D2","level":"warning","message":{"text":"startSSE::connect::onmessage (cognitive 26): startSSE::connect::onmessage has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 7, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/send.js"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c6ebb8fbc4c05d49d850414fd41a47a00f7166fc2bcfbbf50e542bfdc5e8cf"}},{"ruleId":"D2","level":"warning","message":{"text":"submitAddChannel (cognitive 26): submitAddChannel has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (19 pts), ternaries 1 (4 pts), boolean chains 2, error handling 1 (nesting depth added 10). Most of this is not in the body itself: 3 of the 26 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 610, 591, 622, \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":"channel/web/static/js/views/channels.js"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7165f4efb8841b7e8d884deb3391019860fc885a5ef320b80e932d8067a9fa"}},{"ruleId":"D2","level":"warning","message":{"text":"loadMemoryView (cognitive 26): loadMemoryView has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (12 pts), ternaries 4 (8 pts), boolean chains 5, error handling 1 (nesting depth added 5). Most of this is not in the body itself: 3 of the 26 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 25, a function literal at line 51, a function literal at line 25, \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":"channel/web/static/js/views/memory.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0beb3bd63cd81dd0397f4a69de42e86fc407db9ed748bfa5d346c36bf7c6c6"}},{"ruleId":"D2","level":"warning","message":{"text":"parseSkillFrontmatter (cognitive 26): parseSkillFrontmatter has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (nesting depth added 8). Of this number, 24 points are the body\u0027s own statements and 2 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":"channel/web/static/js/views/skills.js"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba5d617ca5edb97163e823e385982f2ecd3fa8a7df3d5007f72595823b21a2c"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationStore.append_messages (cognitive 25): ConversationStore.append_messages has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 6, loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"418c5c8f4f4d0f496474dd11357ccb96b9b8849f1f03b0ec3a1f7f8d9e6432a4"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentStreamExecutor._truncate_historical_tool_results (cognitive 25): AgentStreamExecutor._truncate_historical_tool_results has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 4, loops 3 (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":"agent/protocol/agent_stream.py"},"region":{"startLine":2663}}}],"partialFingerprints":{"codehealthFindingId/v1":"a799da518bdd17f7ac7dd174cfe496dda96f06edb139748545fed565feccc160"}},{"ruleId":"D2","level":"warning","message":{"text":"Bash._get_safety_warning (cognitive 25): Bash._get_safety_warning has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 2 (3 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":"agent/tools/bash/bash.py"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d7e213addedd5a3750c3006e139073cd68c84f8b7e87cb55f0596f9fea8f47"}},{"ruleId":"D2","level":"warning","message":{"text":"integration._execute_agent_task (cognitive 25): integration._execute_agent_task has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 4, error handling 3, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/integration.py"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"24235d0d7139d5ea94c524bc8830c783d6a251778648cebc75973621e5334912"}},{"ruleId":"D2","level":"warning","message":{"text":"SchedulerService._check_and_execute_tasks (cognitive 25): SchedulerService._check_and_execute_tasks has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (19 pts), error handling 2 (4 pts), loops 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/scheduler_service.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f721cd80c882de33c7d573152dbc846b6a4c37f686aa4832e634b63eaa05004"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchFiles._parse_null_output (cognitive 25): SearchFiles._parse_null_output has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (21 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":"agent/tools/search_files/search_files.py"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"3795ce11d6b4faeaadfa1e675fe25f6de9ddc2636a7b3f7b935757decd2c3864"}},{"ruleId":"D2","level":"warning","message":{"text":"web_search._get_api_key (cognitive 25): web_search._get_api_key has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13, boolean chains 12. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/web_search/web_search.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"97506e8f9ca697226471631f7519f583e48faa5863d2e41b0c6f71138eac8754"}},{"ruleId":"D2","level":"warning","message":{"text":"DingTalkChanel.handle_single (cognitive 25): DingTalkChanel.handle_single has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 3, 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":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d21fef2eae7cf4751f8d3fe2c612ebf7d3851dc4abebc7a615a6c7637c92ed7"}},{"ruleId":"D2","level":"warning","message":{"text":"TerminalAgentRenderer._handle_event (cognitive 25): TerminalAgentRenderer._handle_event has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 3 (6 pts), boolean chains 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/terminal/terminal_channel.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2c61bfc30c429a27a27dcf9bfbc2d9442beb01b1102a9105af5d89cd8d2ea3"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelsHandler._handle_save (cognitive 25): ChannelsHandler._handle_save has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (21 pts), error handling 1 (2 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":"channel/web/api/channels.py"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1150934a62ab0606ac71e4b86c1dc5164cda6e7bac5e80e59d5a0da2b875599"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionSettingsHandler.POST (cognitive 25): SessionSettingsHandler.POST has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 7, ternaries 2 (4 pts), error handling 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":"channel/web/api/sessions.py"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"a591d2c7ba2ef51c7b8cfe56cb35e4e9644b75a1a5a83f3d3fc28cf1b664fe2b"}},{"ruleId":"D2","level":"warning","message":{"text":"markdown_fence.split_markdown (cognitive 25): markdown_fence.split_markdown has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 6 (17 pts), if/else 3 (4 pts), loops 2 (3 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":"common/markdown_fence.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3229ff0580f9684cd21e5adeff2ed3edb7a4d908f4db5d38f39bc3e8a12622a"}},{"ruleId":"D2","level":"warning","message":{"text":"ZHIPUAIBot.reply_text (cognitive 25): ZHIPUAIBot.reply_text has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 5, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/zhipuai/zhipuai_bot.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"539f34079341b4e04c998a596b887fa492d0f1e2a06f888ee38225758de83165"}},{"ruleId":"D2","level":"warning","message":{"text":"Hello.on_handle_context (cognitive 25): Hello.on_handle_context has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (22 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":"plugins/hello/hello.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02cc43f05ba42e898ca5b39c8dc2f6bdf81702ddeb1f714810f29ee586dca12"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiProvider.generate (cognitive 25): GeminiProvider.generate has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 3, error handling 1 (3 pts), loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/image-generation/scripts/generate.py"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38e1e89e9caabc0035454690ec7459fb8d29aee0e75b576ecd4cda5f9a69fbf"}},{"ruleId":"D2","level":"warning","message":{"text":"render.createUserMessageEl (cognitive 25): render.createUserMessageEl has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 6 (14 pts), if/else 4 (6 pts), boolean chains 5 (nesting depth added 10). Most of this is not in the body itself: 7 of the 25 points are its own statements and the rest belongs to one function literal inside it that branches (line 60). 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":"channel/web/static/js/chat/render.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb91d6482fb8312b392a3b1d1b189c8f895813f8ac0e3a76b39d4b93b0a66fb4"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsTab.TtsCard (cognitive 25): ModelsTab.TtsCard has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 20, ternaries 3 (4 pts), if/else 1 (nesting depth added 1). Of this number, 16 points are the body\u0027s own statements and 9 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/ModelsTab.tsx"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"843ec91f3e80fdcb464993d20ea638a1928ffd6827fb6dbd85fac6874290c239"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentsPage.AgentSkills (cognitive 25): AgentsPage.AgentSkills has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 7 (14 pts), if/else 6, boolean chains 5 (nesting depth added 7). Most of this is not in the body itself: 3 of the 25 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 801, toggleSkill, a function literal at line 753, \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":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a607daa356c428652575458d72299f075967bb7e1209f3994b1ba79d552946d"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuEditor.EditorDialog::renderItem (cognitive 25): MenuEditor.EditorDialog::renderItem has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 9 (13 pts), boolean chains 12 (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 (MenuEditor.EditorDialog::validated) 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":"desktop/src/renderer/src/components/MenuEditor.tsx"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66dd1bca433052132922464ce2e1769e369aac69bcd3c1a9d15c602b19d35e1"}},{"ruleId":"D2","level":"warning","message":{"text":"loadKnowledgeView (cognitive 25): loadKnowledgeView has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 7, ternaries 3 (5 pts), error handling 1 (nesting depth added 4). Most of this is not in the body itself: 3 of the 25 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 157, 197, 151, \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":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"4629fdf61ce30f750e53e8ecabd4dd66c90c4b6de289b0f8e062f832adbce394"}},{"ruleId":"D2","level":"warning","message":{"text":"renderFallbackChainEditor (cognitive 25): renderFallbackChainEditor has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 5 (8 pts), boolean chains 3 (nesting depth added 7). Most of this is not in the body itself: 2 of the 25 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 469, 484, 415, \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":"channel/web/static/js/views/models.js"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebf04b8b615a0e404056a97574adfa0ae7cfa78b098a54da75f40bbaac5be85"}},{"ruleId":"D2","level":"warning","message":{"text":"saveListenHost (cognitive 25): saveListenHost has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13, boolean chains 6, ternaries 3 (4 pts), error handling 2 (nesting depth added 1). Most of this is not in the body itself: 11 of the 25 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 215, done, a function literal at line 229, \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":"channel/web/static/js/views/shares.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"e964b73f7e7b99e9d1f97d759b0ffd8d69a237ec8298df603927e674fa39eb8c"}},{"ruleId":"D2","level":"warning","message":{"text":"renderSkillPreviewList (cognitive 25): renderSkillPreviewList has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 8 (11 pts), boolean chains 3 (nesting depth added 5). None of this is in the body itself: all 25 points belong to 6 function items inside it that branch ((anonymous)::toggle, a function literal at line 1057, a function literal at line 1122, \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":"channel/web/static/js/views/skills.js"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"80cbe70f7cadd03bddb10874f6919f93f9177c7b7ab58ccd0067a44e7fca75a8"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 25): (anonymous) has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 3 (6 pts), ternaries 2 (6 pts), boolean chains 1 (nesting depth added 11). Of this number, 14 points are the body\u0027s own statements and 11 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":"channel/web/tools/check-load-order.mjs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d8700880326c1f86ea233b16d3c89d76d271f15518a41275d0e3fa62e92279"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentRegistry.from_config (cognitive 24): AgentRegistry.from_config has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 4 (7 pts), boolean chains 6, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/registry.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e488ace4c83dfcdc612d31383e4694fc09fdf2fa55a479aee6c47d56bc95bbe"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillLoader._load_skills_recursive (cognitive 24): SkillLoader._load_skills_recursive has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 3, error handling 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/skills/loader.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07501b10b304de076b49cba8bab28e6082ac2c228fdc9a596688078189c8654"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchFiles.execute (cognitive 24): SearchFiles.execute has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 6, error handling 4 (5 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":"agent/tools/search_files/search_files.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3e56fd0d05a7d36a7dec8a7e4a3771c8ec510f5e1cef31f1652c454820b1b5"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentLLMModel.call (cognitive 24): AgentLLMModel.call has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 2, ternaries 1 (2 pts), 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_bridge.py"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"7598ec2f99a710e01a2c9a6620b66b1c79cbd8555f1c8ab6ea9a228bd2fb1db3"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelsHandler.GET (cognitive 24): ChannelsHandler.GET has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 7, loops 2 (3 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":"channel/web/api/channels.py"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9da40db4ccde3cba265a99391ba818f9eebf43d683e27955c8898b3c8fcec2"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsHandler._preset_seed (cognitive 24): ModelsHandler._preset_seed has cognitive complexity 24 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 5 (7 pts), boolean chains 5, ternaries 2 (5 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":"channel/web/api/models.py"},"region":{"startLine":1770}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9c889784b6ed53fa8052c69d0d66902dbcf096fa635bb121e36f101ec92de3"}},{"ruleId":"D2","level":"warning","message":{"text":"WecomBotChannel._build_context (cognitive 24): WecomBotChannel._build_context has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (18 pts), loops 1 (3 pts), error handling 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":"channel/wecom_bot/wecom_bot_channel.py"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f12f091635ccb3c889a43dab36b03df87afa534bedbb6bba0333a1b85b6667"}},{"ruleId":"D2","level":"warning","message":{"text":"skill._stage_upload_into (cognitive 24): skill._stage_upload_into has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (17 pts), ternaries 1 (4 pts), boolean chains 2, 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":"cli/commands/skill.py"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"728917a806936c2e98382a0d34c8438eb88051dbc67fd27c0b4ca978ec8b4c57"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeAPIBot._sanitize_message (cognitive 24): ClaudeAPIBot._sanitize_message has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 5, ternaries 1 (4 pts), loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/claudeapi/claude_api_bot.py"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53bccfc3e7cbef16370fbb0a81ce97517ceeef0ea2444ccba3d620e09c75d69"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginManager.activate_plugins (cognitive 24): PluginManager.activate_plugins has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 2 (4 pts), error handling 1 (3 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":"plugins/plugin_manager.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"f643cdbd8293ad292b05f44013cb9b67932c4418d919e997a1e5b5e41985d430"}},{"ruleId":"D2","level":"warning","message":{"text":"Tool.on_handle_context (cognitive 24): Tool.on_handle_context has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (17 pts), error handling 1 (3 pts), loops 1 (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":"plugins/tool/tool.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b360e369e2ddc85251f1bd744d48586f72c1c896199d747cad3a6e18cbf19e"}},{"ruleId":"D2","level":"warning","message":{"text":"quick_validate.validate_skill (cognitive 24): quick_validate.validate_skill has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 2, error handling 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/skill-creator/scripts/quick_validate.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1a59e0f8de441203565943f63379c8edb502ed0ed7f21109f71429e3e0fc51"}},{"ruleId":"D2","level":"warning","message":{"text":"chatStore.useChatStore.send (cognitive 24): chatStore.useChatStore.send has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 12, if/else 5 (6 pts), ternaries 5, error handling 1 (nesting depth added 1). Of this number, 21 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/chatStore.ts"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d81e7c6f27b16c23ca417dc2c08dfeb48e1eb2b0e691a5d9eb15e0a4a6399a9"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatInput.ChatInput::handleKeyDown (cognitive 24): ChatInput.ChatInput::handleKeyDown has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 5 (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 (ChatInput.ChatInput) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/ChatInput.tsx"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"5156a341b01498a1ed9648094cf8d412fdf4131debfbc67e85babb60bc994081"}},{"ruleId":"D2","level":"warning","message":{"text":"frontmatter.parseSkillFrontmatter (cognitive 24): frontmatter.parseSkillFrontmatter has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/skills/frontmatter.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69e89fb1bfad8da9a7a3891280ffacdcc9221f0d300d01b15a176162e7b86e0"}},{"ruleId":"D2","level":"warning","message":{"text":"showLoginScreen (cognitive 24): showLoginScreen has cognitive complexity 24 (threshold 15). Drivers by points: if/else 18 (22 pts), boolean chains 1, error handling 1 (nesting depth added 4). Most of this is not in the body itself: 4 of the 24 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 81, a function literal at line 113, onsubmit, \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":"channel/web/static/js/core/auth.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"106b5e91c9388125a9b43f05fe57c64006e0bcfa6f826d4db1a0f93ed2bbe2b4"}},{"ruleId":"D2","level":"warning","message":{"text":"renderActiveChannels (cognitive 24): renderActiveChannels has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 12, boolean chains 8, if/else 4. Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 82, 166, 167). 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":"channel/web/static/js/views/channels.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5802ec9faeff984d0f631a495f8013d67887a3ca8cfacad4d1225f56e977abe9"}},{"ruleId":"D2","level":"warning","message":{"text":"GuestSearchFiles.execute (cognitive 23): GuestSearchFiles.execute has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 2 (6 pts), boolean chains 5, loops 2 (3 pts), error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/guest/tools.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f529abc461f2cdd009ed5d2403940195de583534198bc8ad81c9fe7a98e099b"}},{"ruleId":"D2","level":"warning","message":{"text":"SQLiteVectorBackend.search (cognitive 23): SQLiteVectorBackend.search has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3, error handling 1 (2 pts), loops 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":"agent/memory/vector_backend.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d9f3c8ab30358742524eab3700682abaff8aa58355c43427a4594a4ba6ef2b"}},{"ruleId":"D2","level":"warning","message":{"text":"guest._files_section (cognitive 23): guest._files_section has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 6 (14 pts), if/else 4 (7 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":"agent/prompt/guest.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8aea04ccb9726ab86a27a77f07e8261853059e72503e8e05412fe1318e191fc"}},{"ruleId":"D2","level":"warning","message":{"text":"message_utils._repair_tool_use_adjacency (cognitive 23): message_utils._repair_tool_use_adjacency has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/message_utils.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bbe4e19e59cd019ce1015c0ca8ce860e3f35ce73d56a09db8cc51eaafccec1"}},{"ruleId":"D2","level":"warning","message":{"text":"Vision._route_by_provider_id (cognitive 23): Vision._route_by_provider_id has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 4 (8 pts), error handling 1 (2 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":"agent/tools/vision/vision.py"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5bd9b4b326256075a8cb40b7f96b64aaf2a158c792796b496d99115707adf6"}},{"ruleId":"D2","level":"warning","message":{"text":"WebSearch.execute (cognitive 23): WebSearch.execute has cognitive complexity 23 (threshold 15). Drivers by points: if/else 17, error handling 3, boolean chains 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":"agent/tools/web_search/web_search.py"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31968cff236ac2c9dd8c749fcdd6c8c193a9a2dd0ba654327a21569bfbae692"}},{"ruleId":"D2","level":"warning","message":{"text":"feishu_static_card.download_public_image (cognitive 23): feishu_static_card.download_public_image has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (3 pts), error handling 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":"channel/feishu/feishu_static_card.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f744c684e93f1bacb99a63bc2aea619a952288f14167dd2ce482c85fc08a82"}},{"ruleId":"D2","level":"warning","message":{"text":"themes._link_assets (cognitive 23): themes._link_assets has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3, ternaries 2 (3 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":"channel/web/api/themes.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcfe9eb71768dc027bb3aba0cb58d2df346f67f220be12e0510acac388378f56"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectBrowseHandler.GET (cognitive 23): ProjectBrowseHandler.GET has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 3 (4 pts), loops 2 (3 pts), boolean chains 2, ternaries 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":"channel/web/api/workspace.py"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"055292ed17d7595d4f3b762464130667e8b8b6ff3fb88589040135a748619cb8"}},{"ruleId":"D2","level":"warning","message":{"text":"backup.create_backup_archive (cognitive 23): backup.create_backup_archive has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 3 (4 pts), ternaries 3 (4 pts), boolean chains 2, error handling 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":"cli/commands/backup.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8b456e6919e9309e3616097b4d306b5dd9d5fb731686e1b4075ac0e5f15444"}},{"ruleId":"D2","level":"warning","message":{"text":"DashscopeBot._handle_stream_response (cognitive 23): DashscopeBot._handle_stream_response has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (21 pts), error handling 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":"models/dashscope/dashscope_bot.py"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40e07bf227348f4e43a7743eef4e3202138bc0bb5a492f5fb111c394eaecce4"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkAIBot._fetch_agent_suffix (cognitive 23): LinkAIBot._fetch_agent_suffix has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (18 pts), boolean chains 2, loops 1 (2 pts), error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/linkai/link_ai_bot.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5932508e38ecf847aa04bf2d1c7d767ac19aacafc5ea75964b343c676a632f9"}},{"ruleId":"D2","level":"warning","message":{"text":"CowCliPlugin._resolve_active_embedding (cognitive 23): CowCliPlugin._resolve_active_embedding has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 9, ternaries 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":"plugins/cow_cli/cow_cli.py"},"region":{"startLine":1597}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37c5f78a5168c7807b5ad8a3d793e2b62a94b7a326fb8260e71cf24b41d7c4c"}},{"ruleId":"D2","level":"warning","message":{"text":"nav.navigateTo (cognitive 23): nav.navigateTo has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 6 (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":"channel/web/static/js/core/nav.js"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e9edec481ecbe617bc6c7796f64ce508d3dc9b4f978d66e23209aa879cb6c3"}},{"ruleId":"D2","level":"warning","message":{"text":"models._saveSearchKey (cognitive 23): models._saveSearchKey has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 1 (nesting depth added 9). Most of this is not in the body itself: 10 of the 23 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1066, 1091, 1109). 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":"channel/web/static/js/views/models.js"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"608c0778b2e7a2a501a0ed095b91423e7b13565ca3366c6087ca9ddf8a85cb3f"}},{"ruleId":"D2","level":"warning","message":{"text":"themes.readZip (cognitive 23): themes.readZip has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (18 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":"desktop/src/main/themes.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"d938a3b643671d08a6a731a908fe106813928760214490edabe065182dd12bb8"}},{"ruleId":"D2","level":"warning","message":{"text":"themes.setupThemeIPC (cognitive 23): themes.setupThemeIPC has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 5 (9 pts), error handling 2, loops 1 (2 pts), boolean chains 1 (nesting depth added 9). None of this is in the body itself: all 23 points belong to 2 function literals inside it that branch (lines 519, 505). 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":"desktop/src/main/themes.ts"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1e6afc58f50f2e1581ec637943b0874c75eda54691beaec409f417ef7cdccf"}},{"ruleId":"D2","level":"warning","message":{"text":"PythonBackend.findListenerPids (cognitive 23): PythonBackend.findListenerPids has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (4 pts), boolean chains 2, ternaries 2, error handling 1 (nesting depth added 10). None of this is in the body itself: all 23 points belong to 2 function literals inside it that branch (lines 574, 563). 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":"desktop/src/main/python-manager.ts"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d06edcc0821cdc3d7c6078d82403c1dc1e136106090e95bddfd4a9354976c5"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageSteps.ToolStep (cognitive 23): MessageSteps.ToolStep has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 12, ternaries 7 (10 pts), if/else 1 (nesting depth added 3). Of this number, 20 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/MessageSteps.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"540c8accbb10bb3e2b1882a8f7a06e31b95a6ae5ea60a4334328ffd51d60d592"}},{"ruleId":"D2","level":"warning","message":{"text":"GuestSharesCard.ShareItem (cognitive 23): GuestSharesCard.ShareItem has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 20, ternaries 3. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/shares/GuestSharesCard.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"880de13c6072357e0e145a9d9285e48b627f15ac21f3e6ef38c70da7e4bb5a23"}},{"ruleId":"D2","level":"warning","message":{"text":"mcpConfig.parseMcpJson (cognitive 23): mcpConfig.parseMcpJson has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 6, ternaries 1 (2 pts), error handling 1 (nesting depth added 4). Of this number, 19 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":"desktop/src/renderer/src/pages/skills/mcpConfig.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4486dab8c811242ad66ba171e424b31d7d4266333c576341f976edf299e052"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentsPage.AgentCoreFiles (cognitive 23): AgentsPage.AgentCoreFiles has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 6 (8 pts), boolean chains 7, if/else 7, error handling 1 (nesting depth added 2). Most of this is not in the body itself: 11 of the 23 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 614, save, a function literal at line 624, \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":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f07f6cfaa22e0bc1c2f3149725112f41fe6ff144010845f063a5d4b6ed6f12a"}},{"ruleId":"D2","level":"warning","message":{"text":"ArtifactCard.Thumb (cognitive 23): ArtifactCard.Thumb has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 9, ternaries 4 (nesting depth added 1). Of this number, 16 points are the body\u0027s own statements and 7 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":"desktop/src/renderer/src/pages/artifacts/ArtifactCard.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b05be7fcd2be819c42e20bf39d2aef6027ad9f15c91e0f984892d0fab5de7d4"}},{"ruleId":"D2","level":"warning","message":{"text":"sendMessage (cognitive 23): sendMessage has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 3, error handling 1, ternaries 1 (nesting depth added 4). Most of this is not in the body itself: 9 of the 23 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 154, a function literal at line 180, postWithRetry, \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":"channel/web/static/js/chat/send.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c5c307261bec04798bbbb88bf19bca8a71076c0f952112d9205ecb85bb91ea"}},{"ruleId":"D2","level":"warning","message":{"text":"parseMcpJson (cognitive 23): parseMcpJson has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 8, error handling 1 (nesting depth added 3). 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: 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":"channel/web/static/js/views/skills.js"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d6e028e01fac4b5cab8ff46028868870b658aad9cf42868edb316bcda0e49f"}},{"ruleId":"D2","level":"warning","message":{"text":"KnowledgeService.import_documents (cognitive 22): KnowledgeService.import_documents has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 3 (6 pts), boolean chains 2, error handling 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":"agent/knowledge/service.py"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"85deffc8acfa49c0f1de6a573d88c28d86961cbd5144fcee6deaf76221425745"}},{"ruleId":"D2","level":"warning","message":{"text":"KnowledgeService._scan_dir (cognitive 22): KnowledgeService._scan_dir has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (16 pts), error handling 1 (4 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":"agent/knowledge/service.py"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f51c387f7b18f127fb95d4b8aea638c7ba7380cec210c6121c9b84cafad57f"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryFlushManager._extract_response_text (cognitive 22): MemoryFlushManager._extract_response_text has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, loops 1 (3 pts), error handling 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/summarizer.py"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f860ee7ad3d7b87eed46c1de69c8fdfa999dbb3a2b0f09ac09390502466821a"}},{"ruleId":"D2","level":"warning","message":{"text":"builder._build_knowledge_section (cognitive 22): builder._build_knowledge_section has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 4 (11 pts), if/else 7 (10 pts), 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/prompt/builder.py"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"5408d3a9d01e05ab3510c4fb5ea11a8c7c42906961f0c6158e6b581e8c639b6c"}},{"ruleId":"D2","level":"warning","message":{"text":"builder._build_runtime_section (cognitive 22): builder._build_runtime_section has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 6 (8 pts), error handling 2 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/prompt/builder.py"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fdfd9fc9e9a0f3cf22c9f9df4ed97275e95dc50c14308e2ef50e5b9014eaed9"}},{"ruleId":"D2","level":"warning","message":{"text":"Agent.run_stream (cognitive 22): Agent.run_stream has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 3, loops 1 (2 pts), error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent.py"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d83d4f9bd2a01a47c6b68d8bbaaf44e8fc5821780ebc7754659033e28bd4ba"}},{"ruleId":"D2","level":"warning","message":{"text":"artifact._tool_results (cognitive 22): artifact._tool_results has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (12 pts), ternaries 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":"agent/protocol/artifact.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d095d758a91955012714449d8bb08e3886ee978dbb2abb9b557ff821a69874"}},{"ruleId":"D2","level":"warning","message":{"text":"BrowserService.__init__ (cognitive 22): BrowserService.__init__ has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, ternaries 3, error handling 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":"agent/tools/browser/browser_service.py"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0d8d85372c511679a1b8b8967784e07eb31f778b306037ad78b630ff6aeca8"}},{"ruleId":"D2","level":"warning","message":{"text":"Ls.execute (cognitive 22): Ls.execute has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (14 pts), error handling 3 (4 pts), boolean chains 2, loops 1, ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/ls/ls.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d35d71dcc723d6878f76feb74eec2071b2224fff537b7592b03d32b574a2f9"}},{"ruleId":"D2","level":"warning","message":{"text":"Read.execute (cognitive 22): Read.execute has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 3, error handling 1, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/read/read.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ae61240d0363eaa8531d8af5ebf101b65e20a52b6f3cd6c0e38c070dfec1da"}},{"ruleId":"D2","level":"warning","message":{"text":"Vision._append_other_model_providers (cognitive 22): Vision._append_other_model_providers has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, ternaries 2 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/vision/vision.py"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a3d4fb2de7bc0414f1cdbab84c57a8960d0e6b3c95c5bd27cdbf50f1f20e3d"}},{"ruleId":"D2","level":"warning","message":{"text":"WebSearch._search_linkai (cognitive 22): WebSearch._search_linkai has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 6, loops 1 (3 pts), error handling 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":"agent/tools/web_search/web_search.py"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be416fd6e9fafbd1cfb1f8ae6819644ffc72e8437bff401bfc6635c95d6637b"}},{"ruleId":"D2","level":"warning","message":{"text":"Write.execute (cognitive 22): Write.execute has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (11 pts), error handling 4 (6 pts), boolean chains 4, ternaries 1 (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":"agent/tools/write/write.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c9d1ffd68decc15cb8ed59db137ceeeb7f30cc35fed9ff0ef870362d67d838"}},{"ruleId":"D2","level":"warning","message":{"text":"SlackChannel._do_send (cognitive 22): SlackChannel._do_send has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 6, ternaries 3 (5 pts), 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":"channel/slack/slack_channel.py"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f054138b859d7e34a2f936799cfc3915eca48c23d8a5a2ab0f57752ee0672a"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentsHandler.POST (cognitive 22): AgentsHandler.POST has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6, ternaries 2 (4 pts), error handling 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":"channel/web/api/agents.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6150ae995956c240131a5f7d04f1c79d3a58bb42876a0958aa3b2b7460cea9c"}},{"ruleId":"D2","level":"warning","message":{"text":"WechatKfChannel._pull_messages (cognitive 22): WechatKfChannel._pull_messages has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/wechat_kf/wechat_kf_channel.py"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3868a878337a2ee780983fe3e39757b0a887e3380a2020dada1d09f661de2c9"}},{"ruleId":"D2","level":"warning","message":{"text":"config._merge_legacy_namespace (cognitive 22): config._merge_legacy_namespace has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config.py"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc17748aaec975f46389c45a073aa82cf45faa24c858573171fc4b4a8563910"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAICompatibleBot.call_with_tools (cognitive 22): OpenAICompatibleBot.call_with_tools has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (18 pts), loops 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/openai_compatible_bot.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b269b240a3f48f125ac4fb9c46909713c1156073a03041493a658943098c0e"}},{"ruleId":"D2","level":"warning","message":{"text":"ZHIPUAIBot.call_with_tools (cognitive 22): ZHIPUAIBot.call_with_tools has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/zhipuai/zhipuai_bot.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb675e2584b4700071fc1b353323ac245cfe97d146860fd5f5c7476827949c06"}},{"ruleId":"D2","level":"warning","message":{"text":"generate._build_providers (cognitive 22): generate._build_providers has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4, ternaries 2 (3 pts), 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":"skills/image-generation/scripts/generate.py"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddabb3ea5fb44abe0c06f63c04e9226647766ee7d4298b0af262369ca00ad96e"}},{"ruleId":"D2","level":"warning","message":{"text":"guest.createBotMessageEl (cognitive 22): guest.createBotMessageEl has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 8, loops 1 (2 pts) (nesting depth added 5). Of this number, 18 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/guest/guest.js"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e869a4a161d70165835cec7268da902787c34a136dc356ebb601eac97097ee"}},{"ruleId":"D2","level":"warning","message":{"text":"send.startSSE (cognitive 22): send.startSSE has cognitive complexity 22 (threshold 15). Drivers by points: if/else 100 (191 pts), boolean chains 67, ternaries 8 (15 pts), loops 2 (6 pts), error handling 1 (3 pts) (nesting depth added 104). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/send.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db366481fe85e64d80032351087a7b18f933b7baa8314e21c77dad1dc838142"}},{"ruleId":"D2","level":"warning","message":{"text":"themes._bindThemeAddModal (cognitive 22): themes._bindThemeAddModal has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14, boolean chains 8. Most of this is not in the body itself: 2 of the 22 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 623, a function literal at line 612, a function literal at line 597, \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":"channel/web/static/js/core/themes.js"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"3397be0117e9243bab22fbfafe59f39bc34e25bb6fee6158757669ae342a6b8c"}},{"ruleId":"D2","level":"warning","message":{"text":"models.onCapabilityProviderChange (cognitive 22): models.onCapabilityProviderChange has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 6, ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1856}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb75e2858189f319f69b5397cae4e42e05818b57b4ade0e2050e613e0f55a3e"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatInput.ChatInput (cognitive 22): ChatInput.ChatInput has cognitive complexity 22 (threshold 15). Drivers by points: if/else 61 (77 pts), boolean chains 43, ternaries 10 (12 pts), error handling 5 (7 pts), loops 4 (nesting depth added 20). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (ChatInput.ChatInput::handleKeyDown) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/ChatInput.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0592407bb210a92e00b307983f28706b4240ad0158abfc9c31e196a2df1faa"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatFallbackCard.ChatFallbackModal (cognitive 22): ChatFallbackCard.ChatFallbackModal has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 16, if/else 3, ternaries 3. Most of this is not in the body itself: 6 of the 22 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 220, addLink, a function literal at line 223, \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":"desktop/src/renderer/src/pages/settings/ChatFallbackCard.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"49db97f628db5f07b9b86f9c15cafb6a1c2de00e9309aad72da837afb2dc8270"}},{"ruleId":"D2","level":"warning","message":{"text":"_ctResolve (cognitive 22): _ctResolve has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 7 (12 pts), boolean chains 5, if/else 4 (5 pts) (nesting depth added 6). Of this number, 20 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":"channel/web/static/js/core/themes.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d417559b449c54156192dfa1583df802c939f280df8211bba11aa70d9daa9f3"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentAdminService.create_agent (cognitive 21): AgentAdminService.create_agent has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 5, ternaries 3, error handling 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":"agent/admin.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"391c566be57f4eabdd584365a2336bff15766f3f9bd1e9e0b867d67f9d57b419"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatService._restore_verbatim_query (cognitive 21): ChatService._restore_verbatim_query has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (4 pts), ternaries 1 (4 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/chat/service.py"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6fdbd5562f16cc960ab5657ccd38cb16b67afaab404db33bc18a6f6569b64c"}},{"ruleId":"D2","level":"warning","message":{"text":"KnowledgeService.build_graph (cognitive 21): KnowledgeService.build_graph has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 4 (5 pts), error handling 1 (2 pts), ternaries 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":"agent/knowledge/service.py"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce443e2c1050e6efb84a0075bf287ec6f3c16eb79520569ede8646f9d439f11c"}},{"ruleId":"D2","level":"warning","message":{"text":"factory._init_legacy_provider (cognitive 21): factory._init_legacy_provider has cognitive complexity 21 (threshold 15). Drivers by points: error handling 3 (8 pts), if/else 6 (8 pts), boolean chains 5 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/embedding/factory.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a563f557e72953590167c89b82c4c01642e9637121307ca3b3b3d25b7cb814f"}},{"ruleId":"D2","level":"warning","message":{"text":"factory._init_explicit_provider (cognitive 21): factory._init_explicit_provider has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5, ternaries 3, error handling 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/embedding/factory.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ba14f51792761e51e92f4cdfa6700c1e2573d1d0612205f632f975efc0ed51"}},{"ruleId":"D2","level":"warning","message":{"text":"policy._check_bash_read_only (cognitive 21): policy._check_bash_read_only has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (19 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":"agent/permission/policy.py"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e115456987f297ad9e460712d4a228d1857b42437f329fb30246eff2ecba132"}},{"ruleId":"D2","level":"warning","message":{"text":"builder._build_tooling_section (cognitive 21): builder._build_tooling_section has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 4 (8 pts), loops 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":"agent/prompt/builder.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf26e80f1e8327b558eb6f55ca87e016801c90ae681bdb2d2cd635e5a266eb2"}},{"ruleId":"D2","level":"warning","message":{"text":"Agent.compact_context (cognitive 21): Agent.compact_context has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (11 pts), error handling 2 (4 pts), loops 3 (4 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":"agent/protocol/agent.py"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"8306782be907adc815b51617acc80dd0aa0afa802318e35aca5e7749d9d8eb58"}},{"ruleId":"D2","level":"warning","message":{"text":"registry._profile_from_mapping (cognitive 21): registry._profile_from_mapping has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 8, if/else 7 (8 pts), ternaries 4, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/registry.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f6f5bc2ceb4145158313c4230cbbbace9af33609c071b9dc92b37313fc084d"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentDelegateTool._team_members (cognitive 21): AgentDelegateTool._team_members has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 6, error handling 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/agent_delegate/agent_delegate.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"42edfceadd93a23fa6f3f5d70c3be830c4f4689216ea33522efc17003dbc6ffe"}},{"ruleId":"D2","level":"warning","message":{"text":"BrowserService._run_loop (cognitive 21): BrowserService._run_loop has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 4 (7 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":"agent/tools/browser/browser_service.py"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"2706f4162d1bc9728a564a50f7f80ec589e7bb61b394f1fef169c852ce8900c3"}},{"ruleId":"D2","level":"warning","message":{"text":"integration._remember_delivered_output (cognitive 21): integration._remember_delivered_output has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4, error handling 2 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/integration.py"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6a0063917cb0aef7a88eb5d1127f1d75cfc5fe026221ff5b82ded71b821070"}},{"ruleId":"D2","level":"warning","message":{"text":"search_files._brace_group (cognitive 21): search_files._brace_group has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 3, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/search_files/search_files.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0839b2a03decdd907ed5e285d8157d1b159e8fdddc28952a6835e415cc5058"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentBridge._seed_team_members (cognitive 21): AgentBridge._seed_team_members has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 5, error handling 2 (3 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_bridge.py"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cafdec6855b26068b14d75c5c506dcd97842deebffebac855088d26e8cda3c2"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentInitializer._flush_all_agents (cognitive 21): AgentInitializer._flush_all_agents has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 2 (4 pts), loops 3, 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":"bridge/agent_initializer.py"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4cbbd0ee5a7e56cd97e36f8e98bc1af06df226d5f2387db82ec7bea77d9e1b2"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelsHandler._handle_connect (cognitive 21): ChannelsHandler._handle_connect has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (18 pts), error handling 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":"channel/web/api/channels.py"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"f07e4387b5c416efd506f372f642ff63d1c848f5565c182bb9ade0fff01d4bd4"}},{"ruleId":"D2","level":"warning","message":{"text":"models._discovered_capabilities (cognitive 21): models._discovered_capabilities has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 6 (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":"channel/web/api/models.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f626dfb64ea7d1ad3ca474eaf371cbca3d0c549a7a508544c04dd9e09df162"}},{"ruleId":"D2","level":"warning","message":{"text":"weixin_api.upload_media_to_cdn (cognitive 21): weixin_api.upload_media_to_cdn has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), error handling 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":"channel/weixin/weixin_api.py"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e3fcbc46a3a46290e821c4771d21fc9eb927a9b1ee89b7e25c5cd08d7b0d57"}},{"ruleId":"D2","level":"warning","message":{"text":"skill._merge_builtin_into_config (cognitive 21): skill._merge_builtin_into_config has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (3 pts), error handling 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":"cli/commands/skill.py"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb00dd5524ac09cd4797f5f7d11d2a1bb65d9e82f0db88ac56e771c069e67a5f"}},{"ruleId":"D2","level":"warning","message":{"text":"responses_adapter._content_to_input_parts (cognitive 21): responses_adapter._content_to_input_parts has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 3 (6 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":"models/openai/responses_adapter.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7e9704dbbd313bbc917249dcfb6cf223515eb4b3f911deb8730518c4fd6f14"}},{"ruleId":"D2","level":"warning","message":{"text":"godcmd.get_help_text (cognitive 21): godcmd.get_help_text has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (4 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/godcmd/godcmd.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"812d4b5af18258eaa170cabb3c9992db7c909b511ba5e6c61213d2fc301519d8"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiProvider._extract_images (cognitive 21): GeminiProvider._extract_images has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 4 (8 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":"skills/image-generation/scripts/generate.py"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3054d864f18998cc99ec579a227e873e5770b798ba0fea1ee5544eeedfc924"}},{"ruleId":"D2","level":"warning","message":{"text":"useSchedulerNotifyPoll.maybeNotify (cognitive 21): useSchedulerNotifyPoll.maybeNotify has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 6, loops 1 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/hooks/useSchedulerNotifyPoll.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f2bcecb22e72384568b9c16551d4973e0f82dd2e8c7980b0d409928d32c0b9"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsTab.SearchCard (cognitive 21): ModelsTab.SearchCard has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 11, if/else 5, ternaries 5. Most of this is not in the body itself: 10 of the 21 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 997, onAdd, a function literal at line 994, \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":"desktop/src/renderer/src/pages/settings/ModelsTab.tsx"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"657db06441b58a39c55b856f5e24c35d30d08104ee13710c1dfe9ea32b0c7018"}},{"ruleId":"D2","level":"warning","message":{"text":"renderVoicePill (cognitive 21): renderVoicePill has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 5, error handling 2 (4 pts), ternaries 3 (nesting depth added 3). Most of this is not in the body itself: 5 of the 21 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 666, fmt, setIcon, \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":"channel/web/static/js/chat/render.js"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a26ea44f47c9ce6904d5e00bde5f8d09514489b3ee79be7453bcf4502458a66"}},{"ruleId":"D2","level":"warning","message":{"text":"renderSkillFilesTree (cognitive 21): renderSkillFilesTree has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 10 (13 pts), if/else 5 (6 pts), boolean chains 2 (nesting depth added 4). Of this number, 12 points are the body\u0027s own statements and 9 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":"channel/web/static/js/views/skills.js"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf5a03256fa837eb0847bd3d08170b02a0aa0c8903fb06f41baa638e5b1549f"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentAdminService.set_knowledge_mode (cognitive 20): AgentAdminService.set_knowledge_mode has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/admin.py"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"44fd08b121f5b19c2a0dc1cc00c570d1a5e9bebf21cd3ef1b395cf8aaa6aa782"}},{"ruleId":"D2","level":"warning","message":{"text":"policy._protected_operand (cognitive 20): policy._protected_operand has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (4 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/permission/policy.py"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c6471b5b743e3bca99d0b1ca8488630e1844c19419b813cd5717df3c0544d7"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace.load_context_files (cognitive 20): workspace.load_context_files has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 2 (6 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":"agent/prompt/workspace.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ac27b4cd52b9fd5d3830df9a1e21ed8ee82fc43a520faf244e591a249923ca"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillManager._sync_skills_config (cognitive 20): SkillManager._sync_skills_config has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 2 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/skills/manager.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef8ae232ced14c3a0269f077d6398fb8df0633f7f791e81d410e1de58204b16"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillManager._normalize_skill_filter (cognitive 20): SkillManager._normalize_skill_filter has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (15 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":"agent/skills/manager.py"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"241e5f36cca8f9ad21fe02969b558a12645dec99b429aaee57a83eded8963d4e"}},{"ruleId":"D2","level":"warning","message":{"text":"browser_service._flatten_tree (cognitive 20): browser_service._flatten_tree has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 4 (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":"agent/tools/browser/browser_service.py"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"197f210a27b13ce3782ba2bcc7bcf025cdcc34133974d0d5d9141293b2608c7a"}},{"ruleId":"D2","level":"warning","message":{"text":"service.save_servers (cognitive 20): service.save_servers has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 3, 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":"agent/tools/mcp/service.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae62093862b60ece16e84b9e77e99f11b487877a710d78cde47a6932ac42dfbe"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolManager._load_mcp_tools_async (cognitive 20): ToolManager._load_mcp_tools_async has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 2 (3 pts), loops 2 (3 pts), ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/tool_manager.py"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eec19fe1f9900f0abd42c64ae99f90a38322aa1bdd565c268d3a671bfeb8a78"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsHandler._custom_provider_cards (cognitive 20): ModelsHandler._custom_provider_cards has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, ternaries 3 (6 pts), error handling 1, if/else 1, loops 1 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/models.py"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d761789a8dfbf9d45be16e4273656130ffb4e21cb64f9d6f6575a59110eae6"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeImportHandler.POST (cognitive 20): ThemeImportHandler.POST has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 7, if/else 4 (6 pts), error handling 4, ternaries 1 (2 pts), loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/themes.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f55df4dce4de0997c5003476815b40d2c27ec88159266167e3ac81017aedd8"}},{"ruleId":"D2","level":"warning","message":{"text":"openai_http_client._resolve_attribution_headers (cognitive 20): openai_http_client._resolve_attribution_headers has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (6 pts), error handling 2 (5 pts), ternaries 1 (5 pts), boolean chains 3, 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":"models/openai/openai_http_client.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50dae54980cd6631141dd60998764f21592ca64fcf3793a325a6f36868f3732"}},{"ruleId":"D2","level":"warning","message":{"text":"CowCliPlugin._knowledge_tree (cognitive 20): CowCliPlugin._knowledge_tree has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 3 (7 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":"plugins/cow_cli/cow_cli.py"},"region":{"startLine":1994}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cea45f29c497bf586490c7973fa80f8c9460b9a9455e49911160c6402d5f876"}},{"ruleId":"D2","level":"warning","message":{"text":"Role.__init__ (cognitive 20): Role.__init__ has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 4 (6 pts), error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/role/role.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0209757baae84a2b5922b655d54d255955057181c647dc2f86d06e8b0e109f0c"}},{"ruleId":"D2","level":"warning","message":{"text":"generate._compress_image (cognitive 20): generate._compress_image has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 3 (5 pts), boolean chains 2, 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":"skills/image-generation/scripts/generate.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"689b8e637f07810f86fbcc141edb74c827777bc60e09e3b2194bf9d6134f5d1c"}},{"ruleId":"D2","level":"warning","message":{"text":"menu-editor._meValidate (cognitive 20): menu-editor._meValidate has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (12 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/menu-editor.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c827d20bf052ae4577e11c22109fd59bb11928847c330a3fe0d2eda5604678"}},{"ruleId":"D2","level":"warning","message":{"text":"tasks-modal.openTaskEditModal (cognitive 20): tasks-modal.openTaskEditModal has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 13, if/else 6 (7 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":"channel/web/static/js/views/tasks-modal.js"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce371ca1f3e676895e2d93dbee47a232743db70bc3d148043643855b62a645c4"}},{"ruleId":"D2","level":"warning","message":{"text":"useTheme.applyTheme (cognitive 20): useTheme.applyTheme has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 5 (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":"desktop/src/renderer/src/hooks/useTheme.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"d084b25305648ae4bf9c9516977aef0ce6fa0a01520d430ec9b8e1b1ec27663f"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentsPage.AgentDetail (cognitive 20): AgentsPage.AgentDetail has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, if/else 5, ternaries 3, error handling 1. Of this number, 11 points are the body\u0027s own statements and 9 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f80a2549542e55656ee74801df4559a8a6314014630269570eac7f3465ba680"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuEditor.EditorDialog::validated (cognitive 20): MenuEditor.EditorDialog::validated has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (12 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (MenuEditor.EditorDialog::renderItem) 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":"desktop/src/renderer/src/components/MenuEditor.tsx"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"2219cd3951582d780c227d1e0b52a965867a215f184625b4992d6ef43ab43ae5"}},{"ruleId":"D2","level":"warning","message":{"text":"regenerateResponse (cognitive 20): regenerateResponse has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 2, error handling 1, loops 1 (nesting depth added 3). Most of this is not in the body itself: 9 of the 20 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 55, a function literal at line 74, postWithRetry, \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":"channel/web/static/js/chat/send.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"1340a65ed0e8d20332f90254da841a3e68720fa380ca9ec6a60b4c577231dd87"}},{"ruleId":"D2","level":"warning","message":{"text":"startPolling (cognitive 20): startPolling has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 4, error handling 1, ternaries 1 (nesting depth added 6). None of this is in the body itself: all 20 points belong to 4 function items inside it that branch (a function literal at line 1057, poll, a function literal at line 1056, \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":"channel/web/static/js/chat/send.js"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"5951a1c2128442d6af64a1482aa7725979bc730952e49608d242f1df0a588e21"}},{"ruleId":"D2","level":"warning","message":{"text":"openCustomProviderModal (cognitive 20): openCustomProviderModal has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8 (9 pts), if/else 7, boolean chains 4 (nesting depth added 1). Of this number, 17 points are the body\u0027s own statements and 3 belong to 4 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models-custom-provider.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe887f16277a8cb3c03a8ded8e3845cc3f69823fb5edf2ea23a0cb387cbfd49"}},{"ruleId":"D2","level":"warning","message":{"text":"loadTaskInstances (cognitive 20): loadTaskInstances has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 10, ternaries 4, error handling 2 (3 pts), if/else 3 (nesting depth added 1). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 121, 125, 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":"channel/web/static/js/views/tasks-modal.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c4559412b326ea5d77e29536725582bb8b13192cdca3eb663ff789a5d8ed3a"}},{"ruleId":"D2","level":"warning","message":{"text":"trigger._scan_once (cognitive 19): trigger._scan_once has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 4, ternaries 2 (4 pts), error handling 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/evolution/trigger.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab47fd124b76d1b7c201ce23cad3eaa86a3efb06f041c703bdfda5b034e557f"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationStore.get_run_detail (cognitive 19): ConversationStore.get_run_detail has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, error handling 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":"agent/memory/conversation_store.py"},"region":{"startLine":1685}}}],"partialFingerprints":{"codehealthFindingId/v1":"331bb274ff986fc3c21ac39d5930b208537ce4c377cb1153f35bd8c9b2d7aad9"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationStore.list_user_messages (cognitive 19): ConversationStore.list_user_messages has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (6 pts), ternaries 3 (6 pts), error handling 2 (4 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":"agent/memory/conversation_store.py"},"region":{"startLine":1885}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f08d24c52580f80b42259a760a137d98fe8cf43ce4f3ef0972a8ae7a83f13d"}},{"ruleId":"D2","level":"warning","message":{"text":"provider.create_embedding_provider (cognitive 19): provider.create_embedding_provider has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, if/else 6 (8 pts), ternaries 2 (3 pts) (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":"agent/memory/embedding/provider.py"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03f93c8ec47571f89a8914ad6516510a45d886f26138f6380f7fafd48581f38"}},{"ruleId":"D2","level":"warning","message":{"text":"message_utils.find_first_user_text_block (cognitive 19): message_utils.find_first_user_text_block has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (11 pts), loops 3 (7 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":"agent/protocol/message_utils.py"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6a455ec2443ec5fff9607a5c503706da41ad2054627a62bb4549139c3209a7"}},{"ruleId":"D2","level":"warning","message":{"text":"DelegationPolicy.from_config (cognitive 19): DelegationPolicy.from_config has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 2, 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":"agent/tools/agent_delegate/agent_delegate.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30c2ed9b73b4d63617b405905f6060b7d49f446537a386249e3fba7a504c8a3"}},{"ruleId":"D2","level":"warning","message":{"text":"SchedulerTool._resolve_owner_agent_id (cognitive 19): SchedulerTool._resolve_owner_agent_id has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (8 pts), error handling 3 (6 pts), boolean chains 4, 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":"agent/tools/scheduler/scheduler_tool.py"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"797e2a31ed32e71f95e1d59f6f90f40f4fc6a63c23fb5d248e27f4d423a94fd9"}},{"ruleId":"D2","level":"warning","message":{"text":"SubagentTool._collect_tasks (cognitive 19): SubagentTool._collect_tasks has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 4 (8 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":"agent/tools/subagent/subagent.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b0a18077b8251cfba3d1ee88515c4001e1bc4839cf55eb54e4e9122a3b9bd5"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceService.search (cognitive 19): WorkspaceService.search has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/workspace/service.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a28aa5169cf2a7e8576cb12bd56d9c3b1576ada3d6d7caa5055e8f5daa1bb04"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentInitializer.initialize_agent (cognitive 19): AgentInitializer.initialize_agent has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 5, ternaries 2 (4 pts), error handling 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":"bridge/agent_initializer.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2ca99f4f15a2deccb08a1092d5ba6b024c3ba878e2d64e37e4ff0444ff3db1"}},{"ruleId":"D2","level":"warning","message":{"text":"DingTalkCardStreamer.handle_event (cognitive 19): DingTalkCardStreamer.handle_event has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_stream_card.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d4e57e89ce5a400e9ab8c1610f5c659554d66fcd452f3cec6edf38abce42db"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscordChannel._compose_context (cognitive 19): DiscordChannel._compose_context has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 4 (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":"channel/discord/discord_channel.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c38d3e1673d7e2246ef2b8aae0296863302e1343775d98b50946552840ab78"}},{"ruleId":"D2","level":"warning","message":{"text":"SlackChannel._compose_context (cognitive 19): SlackChannel._compose_context has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 4 (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":"channel/slack/slack_channel.py"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f7e2bdf6d9d5cda954ac90c80a6f1cbfbdbe7df8aa7ec819f2db43ccd258b2"}},{"ruleId":"D2","level":"warning","message":{"text":"TelegramChannel._compose_context (cognitive 19): TelegramChannel._compose_context has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 4 (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":"channel/telegram/telegram_channel.py"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e18080baa143960266c67de26a366840f83c642a0b64438e47e36915121a5ef"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsHandler._persist_custom_providers (cognitive 19): ModelsHandler._persist_custom_providers has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 1 (3 pts), boolean chains 2, ternaries 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":"channel/web/api/models.py"},"region":{"startLine":2084}}}],"partialFingerprints":{"codehealthFindingId/v1":"696f545c9cabb5db3d697d526ec3c8bf61b6e13fcdf23e8abbf121d1779ab489"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsHandler._set_image (cognitive 19): ModelsHandler._set_image has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 7 (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":"channel/web/api/models.py"},"region":{"startLine":2331}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d45bcb062fc959dd5dab829dc45c3bb02f532056057e473f70bb1c8881e905a"}},{"ruleId":"D2","level":"warning","message":{"text":"Query.POST (cognitive 19): Query.POST has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 1, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/wechatmp/active_reply.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e332d0e8fa4c9190f59c347c659fc27cfa657870c1fde5fd4c7b27a77dec6697"}},{"ruleId":"D2","level":"warning","message":{"text":"WeixinApi._post (cognitive 19): WeixinApi._post has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (12 pts), error handling 3 (6 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":"channel/weixin/weixin_api.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"b106903128ca2b90abff89b7607a95fef5a5a8da52f6d0592383ba9961dafd86"}},{"ruleId":"D2","level":"warning","message":{"text":"backup._iter_workspace_files (cognitive 19): backup._iter_workspace_files has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/backup.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"0796dccdbc401a967bc700c24fc2544f2da9069400e97d58a02213152d64838c"}},{"ruleId":"D2","level":"warning","message":{"text":"backup._multi_agent_destinations (cognitive 19): backup._multi_agent_destinations has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), error handling 2 (5 pts), ternaries 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/backup.py"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"55be018948ff906f27294ca2fb54c86e6139393ef068e6c31d3a760eca529089"}},{"ruleId":"D2","level":"warning","message":{"text":"skill._scan_skills_in_repo (cognitive 19): skill._scan_skills_in_repo has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/skill.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91a8fde0ddc347fb6be0a5dd56ca5133fd738b119d8104cb707e8623d482266"}},{"ruleId":"D2","level":"warning","message":{"text":"office_text._iter_docx_blocks (cognitive 19): office_text._iter_docx_blocks has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (8 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":"common/office_text.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e47f30efb0564b5e4d30c29e421e6487d6109ace7350caf2c5e51bde9d83d9"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeAPIBot._handle_stream_response (cognitive 19): ClaudeAPIBot._handle_stream_response has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 6, 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":"models/claudeapi/claude_api_bot.py"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c464de37c943af0ede8db415e8b3e2c569bcc9d488e90cecd4c28053b262fa"}},{"ruleId":"D2","level":"warning","message":{"text":"MoonshotBot.call_with_tools (cognitive 19): MoonshotBot.call_with_tools has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 4, error handling 1, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/moonshot/moonshot_bot.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"edeaffb52bf2d19fe195de074faf1eafe5d8018a435f9c02022203098e84bbd0"}},{"ruleId":"D2","level":"warning","message":{"text":"Keyword.on_handle_context (cognitive 19): Keyword.on_handle_context has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, error handling 1 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/keyword/keyword.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f123e31290c74294db9d562c4d9dfaf440c4b362dc39e6dd0863587e9986772b"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkAI._is_summary_open (cognitive 19): LinkAI._is_summary_open has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 6 (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":"plugins/linkai/linkai.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d10623b55f9f657225d22ee14a7de36537d65406d31a63cdaa3a798c78959b8"}},{"ruleId":"D2","level":"warning","message":{"text":"sessions._sessionGroups (cognitive 19): sessions._sessionGroups has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 6 (14 pts), if/else 4 (5 pts) (nesting depth added 9). Most of this is not in the body itself: 4 of the 19 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 283, a function literal at line 293, bucket). 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":"channel/web/static/js/views/sessions.js"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c98b8d361787732c53d7f71080e93642482c4f9ebfe5b8c46c807acd6575293"}},{"ruleId":"D2","level":"warning","message":{"text":"themes.inlineThemeAssets (cognitive 19): themes.inlineThemeAssets has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (16 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":"desktop/src/main/themes.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"0031338ee281d923ca809417ffa6ab8d401465d950dda7bcf18b766906982a47"}},{"ruleId":"D2","level":"warning","message":{"text":"themes.importTheme (cognitive 19): themes.importTheme has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 6, if/else 5, ternaries 3 (4 pts), error handling 2, 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":"desktop/src/main/themes.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc70ae1c33de589dd21ffc05f56d7d3a154b127e14488a7d35128582ac3093f"}},{"ruleId":"D2","level":"warning","message":{"text":"ApiClient.postFormData (cognitive 19): ApiClient.postFormData has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), error handling 2 (5 pts), ternaries 2 (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":"desktop/src/renderer/src/api/client.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d86a494a01c05da8e8fc73886aeb42bf3180e174bcbf4392da367fa1ff3918"}},{"ruleId":"D2","level":"warning","message":{"text":"sessionSettingsStore.useSessionSettingsStore (cognitive 19): sessionSettingsStore.useSessionSettingsStore has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 6, error handling 2, ternaries 1 (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 59, 77, 100, \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":"desktop/src/renderer/src/store/sessionSettingsStore.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c88a4d7736e1140f82632470fd56ef7fe76ea922562afc29c17fa18403f6aa"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatApiCard.ChatApiCard (cognitive 19): ChatApiCard.ChatApiCard has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (13 pts), if/else 3, boolean chains 2, error handling 1 (nesting depth added 5). 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 items inside it that branch (onToggle, post, a function literal at line 81, \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":"desktop/src/renderer/src/pages/settings/ChatApiCard.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcfbbbb33eaab263b6b60b50967865a4f236ae3d26be7f7419b94f5937abe811"}},{"ruleId":"D2","level":"warning","message":{"text":"ShareDialogs.Turn (cognitive 19): ShareDialogs.Turn has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 10, ternaries 5 (6 pts), if/else 3 (nesting depth added 1). Of this number, 18 points are the body\u0027s own statements and 1 belongs 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":"desktop/src/renderer/src/pages/settings/shares/ShareDialogs.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a03442e37f5c7b466a08dbdaf3392035de840494d9aecfca1418ac6b800e05"}},{"ruleId":"D2","level":"warning","message":{"text":"KnowledgePage.KnowledgeDialog (cognitive 19): KnowledgePage.KnowledgeDialog has cognitive complexity 19 (threshold 15). Drivers by points: if/else 22 (37 pts), boolean chains 21, ternaries 3 (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. This shape REPEATS in the file: one other method here (KnowledgePage.KnowledgeDialog::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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb947f3de1288f39340aa2a0949582a1299d7bfb06d749831f754df2d82d76e6"}},{"ruleId":"D2","level":"warning","message":{"text":"_ctxDoCompact (cognitive 19): _ctxDoCompact has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 5, error handling 1 (nesting depth added 2). Most of this is not in the body itself: 6 of the 19 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 360, 359, 389). 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":"channel/web/static/js/chat/context-usage.js"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4f3a021e6c6a71682932aca7a64a059ffcc7cd162ac35e9f1641700372c1ad"}},{"ruleId":"D2","level":"warning","message":{"text":"renderModelMenu (cognitive 19): renderModelMenu has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 12, ternaries 5, if/else 2. Of this number, 10 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":"channel/web/static/js/chat/session-settings.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd727d746db0d9ae9dd70d361b868e05fe720d4161f83ff63654f0f897ea5ff"}},{"ruleId":"D2","level":"warning","message":{"text":"loadAgentCatalog (cognitive 19): loadAgentCatalog has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 10, if/else 7 (8 pts), error handling 1 (nesting depth added 1). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 113, 152, 112, \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":"channel/web/static/js/views/agents.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"7942bcd8ce37ab3eaeb552c2cd1bb33f1afaf2de2d0b382b1ddba9a981a9162d"}},{"ruleId":"D2","level":"warning","message":{"text":"savePasswordConfig (cognitive 19): savePasswordConfig has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 1, error handling 1 (nesting depth added 7). Most of this is not in the body itself: 4 of the 19 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 682, 681, 716, \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":"channel/web/static/js/views/config.js"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"072a30c4d9a298220d270cd399ddcf464a124f5bf9b40b253199f723c35cb18f"}},{"ruleId":"D2","level":"warning","message":{"text":"session_service._assemble_optimize_prompt (cognitive 18): session_service._assemble_optimize_prompt has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, 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":"agent/chat/session_service.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d23e3e1c3ae09bdb4274ae27a7a39858546a3ee6330654ab146bdd135826258"}},{"ruleId":"D2","level":"warning","message":{"text":"GuestService._sweep_work_dirs (cognitive 18): GuestService._sweep_work_dirs has cognitive complexity 18 (threshold 15). Drivers by points: error handling 3 (6 pts), if/else 2 (6 pts), loops 2 (3 pts), ternaries 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":"agent/guest/runtime.py"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c717604d6e9476317b4e93769f3469a1c00e976f12a1a2ce1c92a967b99180"}},{"ruleId":"D2","level":"warning","message":{"text":"TextChunker.chunk_text (cognitive 18): TextChunker.chunk_text has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (4 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/chunker.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1217745eb2e4e71d22693925e7b58fd8ec7282245d4580efdde49c5a1554b8"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryManager.search (cognitive 18): MemoryManager.search has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (10 pts), error handling 2 (4 pts), boolean chains 3, ternaries 1 (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":"agent/memory/manager.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"c483959bee779bed6e742ef1cbc53182da6445c529a83c9c6d69b0b99632875b"}},{"ruleId":"D2","level":"warning","message":{"text":"builder._build_team_section (cognitive 18): builder._build_team_section has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 2 (4 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/prompt/builder.py"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"530555a5ec185ed7da200be48d758c870370d9587c3a89896d7e127730c55964"}},{"ruleId":"D2","level":"warning","message":{"text":"Agent._estimate_message_tokens (cognitive 18): Agent._estimate_message_tokens has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (16 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":"agent/protocol/agent.py"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"74db6478935369d8fd85e9747f7161a375ad81c7c003710c5d32002020e5a3e3"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_stream._parse_tool_args (cognitive 18): agent_stream._parse_tool_args has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 2 (4 pts), ternaries 1 (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":"agent/protocol/agent_stream.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aed34eb500a660919dcff51746f483d5cd783289e00ee1777234f088ab1deba"}},{"ruleId":"D2","level":"warning","message":{"text":"frontmatter.parse_frontmatter (cognitive 18): frontmatter.parse_frontmatter has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 3 (6 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":"agent/skills/frontmatter.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"717a25abb348caea0880e2eff317998c5f11e8ec63e81d615fe77a1236540091"}},{"ruleId":"D2","level":"warning","message":{"text":"integration._execute_send_message (cognitive 18): integration._execute_send_message has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, error handling 2, 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":"agent/tools/scheduler/integration.py"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"1398fa57c066f52b921940a6837c8db0499db277b86079ac68c54a3f36587605"}},{"ruleId":"D2","level":"warning","message":{"text":"integration._execute_tool_call (cognitive 18): integration._execute_tool_call has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8, boolean chains 5, ternaries 2 (3 pts), error handling 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":"agent/tools/scheduler/integration.py"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf1cfb3ca9eadff9a44edd106a0e405a44a9023b783cf3fc3b3b9e9b8d51214"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchFiles._python_scan_file (cognitive 18): SearchFiles._python_scan_file has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 3 (4 pts), boolean chains 2, ternaries 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":"agent/tools/search_files/search_files.py"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a285b2e5156085349120032ba8504b6c0e0c7e385395f286152bce21b41833"}},{"ruleId":"D2","level":"warning","message":{"text":"Vision._route_by_model_name (cognitive 18): Vision._route_by_model_name has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/vision/vision.py"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"208d53e4c0dc0e94ef0254459162275f9f61cd80aab6cbe22475cce07d84a365"}},{"ruleId":"D2","level":"warning","message":{"text":"WebSearch._search_zhipu (cognitive 18): WebSearch._search_zhipu has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 11, if/else 5, loops 1, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/web_search/web_search.py"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a748a9a5e7447a2cb3a2797df846e2d0f91a57ea5b56933a624af93ddaf847"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceService.dispatch (cognitive 18): WorkspaceService.dispatch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 6, error handling 4 (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":"agent/workspace/service.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb70a39c06ccb08be7513fcf431f8edc5496104d3e97774ac0b9a32ba8fe3eb6"}},{"ruleId":"D2","level":"warning","message":{"text":"session_prefs.forget_agent (cognitive 18): session_prefs.forget_agent has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 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":"agent/workspace/session_prefs.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b0676e4d292b4b62fb18e5dbc5b4899150d67f73cee61046a5344938a2439f"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentInitializer._restore_conversation_history (cognitive 18): AgentInitializer._restore_conversation_history has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, error handling 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":"bridge/agent_initializer.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b87f3d7bc57919cf14eec27cfb2fcb301b0390d2be8c851c1b5854e33a14ddf"}},{"ruleId":"D2","level":"warning","message":{"text":"channel_factory._build_channel (cognitive 18): channel_factory._build_channel has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/channel_factory.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aaef57801d0ecb938bab0876870a1c1a2e25ca94fba10d445d700ed5c34df78"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscordChannel._async_send (cognitive 18): DiscordChannel._async_send has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 3 (5 pts), boolean chains 3, 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":"channel/discord/discord_channel.py"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3d02f77cd88576e092efa92077e283af46facd1a734dded0bc8b634b9901d3"}},{"ruleId":"D2","level":"warning","message":{"text":"FeiShuChanel._compose_context (cognitive 18): FeiShuChanel._compose_context has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2314}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b40b8703f665cc179c24fdb5105d4f4bd08466499dd7a801d07fcbbccdae7e9"}},{"ruleId":"D2","level":"warning","message":{"text":"QQChannel._start_ws (cognitive 18): QQChannel._start_ws has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 4, ternaries 2 (4 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":"channel/qq/qq_channel.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"f885ebe5ebcf0d04d7223c9e9164963cfe305ad7ef51d5b7295f11e4e8165ea2"}},{"ruleId":"D2","level":"warning","message":{"text":"VoiceTtsHandler.POST (cognitive 18): VoiceTtsHandler.POST has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, if/else 6, error handling 3 (5 pts) (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/files.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2122c38c4b0da843257ba24308d3d57145fa273e09b3d4dc4175c939ae7f55f"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsHandler._chat_capability (cognitive 18): ModelsHandler._chat_capability has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, error handling 1 (2 pts), loops 1, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/models.py"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"830d20d8f9d7972da1f1c283f2cc0c89f219fd185397ca55e5d27f79f7e260d9"}},{"ruleId":"D2","level":"warning","message":{"text":"sessions._add_delegate_displays (cognitive 18): sessions._add_delegate_displays has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, error handling 2 (4 pts), if/else 2 (4 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":"channel/web/api/sessions.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac29f10af48f0d893870e24b58acf95e79b2ca25bce780be86930ab99045d4d"}},{"ruleId":"D2","level":"warning","message":{"text":"themes.import_theme (cognitive 18): themes.import_theme has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 5, error handling 2, loops 2, 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":"channel/web/api/themes.py"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec3d84c72fa536b66db3cc08ddf88dbc89cf7a2dc4da2b1b2bff34ccc556c43"}},{"ruleId":"D2","level":"warning","message":{"text":"WebChannel.cancel_request (cognitive 18): WebChannel.cancel_request has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (6 pts), boolean chains 5, error handling 3 (4 pts), 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":"channel/web/core/channel.py"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae57b514159dd8ac960a42cfb6ca065320d2b909af1097d0efde5bfa263e8733"}},{"ruleId":"D2","level":"warning","message":{"text":"skill._install_from_repo_root (cognitive 18): skill._install_from_repo_root has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (17 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":"cli/commands/skill.py"},"region":{"startLine":1554}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd7f7f8bdf1ce97a5e2ac0fc768ca3035936ec3b5289552c33ebc41f31d66b9"}},{"ruleId":"D2","level":"warning","message":{"text":"model_catalog.normalize_entry (cognitive 18): model_catalog.normalize_entry has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 3, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/model_catalog.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d1d7370570a92410be3e092f951ae7e5f63bb7254a45eefd58cb44f56339ed"}},{"ruleId":"D2","level":"warning","message":{"text":"XunFeiBot.reply (cognitive 18): XunFeiBot.reply has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), error handling 1 (3 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":"models/xunfei/xunfei_spark_bot.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ccf76d212c03087f6c8182ca8b64ce38e8a911df01c66afbde4cf5b7ea11d6"}},{"ruleId":"D2","level":"warning","message":{"text":"CowCliPlugin._memory_status (cognitive 18): CowCliPlugin._memory_status has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, ternaries 2 (3 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":"plugins/cow_cli/cow_cli.py"},"region":{"startLine":1639}}}],"partialFingerprints":{"codehealthFindingId/v1":"409ae1c54ab4588dfba72ad433c2b531ae51ad840ccb346822068dbfacae2ed1"}},{"ruleId":"D2","level":"warning","message":{"text":"generate.main (cognitive 18): generate.main has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 4, error handling 3 (4 pts), ternaries 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/image-generation/scripts/generate.py"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c99e7c280d2a949958e260472274e8565aedc90c416f7b2573c29b8c7a9cf33"}},{"ruleId":"D2","level":"warning","message":{"text":"guest.loadHistory (cognitive 18): guest.loadHistory has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 7, ternaries 1 (2 pts) (nesting depth added 2). None of this is in the body itself: all 18 points belong to 3 function literals inside it that branch (lines 841, 833, 857). 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":"channel/web/static/guest/guest.js"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e57e32a1086473231e89e3b9e47d71646d1d39055282d1c0a6cebbdd567a770"}},{"ruleId":"D2","level":"warning","message":{"text":"message-actions.editUserMessage (cognitive 18): message-actions.editUserMessage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6, loops 1, ternaries 1 (nesting depth added 3). 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":"channel/web/static/js/chat/message-actions.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"955aef093f7e03bb6963c3fe7d134d7c2a65f7c24ebf923f9c224e3fee9dd85e"}},{"ruleId":"D2","level":"warning","message":{"text":"artifacts._artCardHTML (cognitive 18): artifacts._artCardHTML has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 10 (11 pts), boolean chains 7 (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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3409d3bc2bb72dfc00937a02280c056ff8a9e06e91c4f3efa3a7f2dd4223de1"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledge.openKnowledgeDocumentEditor (cognitive 18): knowledge.openKnowledgeDocumentEditor has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (12 pts), if/else 4, boolean chains 2 (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 3 function literals inside it that branch (lines 539, 550, 556). 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":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"cefb177f2c998e0a277de7ab494577f6a406d6899aa06bcd5c02184a947c0827"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledge.validateKnowledgeImportFiles (cognitive 18): knowledge.validateKnowledgeImportFiles has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (9 pts), if/else 4 (5 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":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b5b3143a67753bb01ca90163e257b47befb4a205fb523a5ad992dce819aeca"}},{"ruleId":"D2","level":"warning","message":{"text":"themes.readImportSource (cognitive 18): themes.readImportSource has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 2 (3 pts), error handling 2, boolean chains 1, loops 1 (nesting depth added 4). Of this number, 14 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/themes.ts"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebcdd1adbf45c47a6cd40a3ed5286e9f24b2beb03c71e88c7b00cbd1687b241d"}},{"ruleId":"D2","level":"warning","message":{"text":"PythonBackend.resolveEnvPath (cognitive 18): PythonBackend.resolveEnvPath has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 3, error handling 1 (2 pts), ternaries 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":"desktop/src/main/python-manager.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6aad6185eb604fd2be9c73ce8fbb119230291120a9462b3dde64e5d5adb0908"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionList.buildGroups (cognitive 18): SessionList.buildGroups has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 4, ternaries 2 (4 pts), loops 2 (3 pts) (nesting depth added 6). Of this number, 11 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/layout/SessionList.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22978d2564894eddaf44c786ab95caf73229897dbfc9c84f75ed264677664a0"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentScopeSelect.AgentScopeSelect (cognitive 18): AgentScopeSelect.AgentScopeSelect has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, ternaries 5 (6 pts), if/else 3 (nesting depth added 1). Of this number, 14 points are the body\u0027s own statements and 4 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/AgentScopeSelect.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c679d5ddb37f37ad28895f0bb981c1e0e12b4c17119282fbde35ad4f3798f580"}},{"ruleId":"D2","level":"warning","message":{"text":"KnowledgePage.findTitle (cognitive 18): KnowledgePage.findTitle has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 5, loops 4, ternaries 1 (nesting depth added 4). Of this number, 10 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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae7933a3a38f03ec8e4993a83ffa83b6d3361fb6a22289a98be56c2a133db2c"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentsPage.CreateAgentModal (cognitive 18): AgentsPage.CreateAgentModal has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8, boolean chains 6, error handling 1 (2 pts), ternaries 2 (nesting depth added 1). 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 items inside it that branch (submit, onPickAvatar, a function literal at line 855, \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":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"948ef1a12306b95c64ec176d13610e885391bb8ebdfc671e23dda4c634c73d88"}},{"ruleId":"D2","level":"warning","message":{"text":"wsApi (cognitive 18): wsApi has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 4 (6 pts), boolean chains 1, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/workspace.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8bfc9b774d3b267791f0b1c27d7beb921c6dd771fc2056bbec208dfcc587b0d"}},{"ruleId":"D2","level":"warning","message":{"text":"renderSubagentStep (cognitive 18): renderSubagentStep has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/utils.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50669a66c6ffdda11f3c39f9d10f7a925bbef9205f98a1d764437c0fb21fac9"}},{"ruleId":"D2","level":"warning","message":{"text":"_artInit (cognitive 18): _artInit has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14, boolean chains 3, error handling 1. Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 13 function literals inside it that branch (lines 116, 139, 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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0ab833a4b034b3a86be41157d6e6082612415645e16904a90d6fa5fd661dd2"}},{"ruleId":"D2","level":"warning","message":{"text":"showRunDetailModal (cognitive 18): showRunDetailModal has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, if/else 6, ternaries 3, error handling 1. Of this number, 13 points are the body\u0027s own statements and 5 belong to 4 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/tasks.js"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6652bee83334fbf166cc6ef1a655bffafeba446348fc7f12a013eeaec826431"}},{"ruleId":"D2","level":"warning","message":{"text":"backup.restore_backup (cognitive 17): backup.restore_backup has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 5, loops 2, error handling 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":"agent/evolution/backup.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2efd6afe9c0d08567e4d3d0cc6cb18e3723fa9a641172c1d490bf7e5b242bb6"}},{"ruleId":"D2","level":"warning","message":{"text":"actions._offered (cognitive 17): actions._offered has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/guest/actions.py"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"de79245918a01d991792a2d028a676e8664b8b97c2697442dd8ae24f0a1ef1dc"}},{"ruleId":"D2","level":"warning","message":{"text":"GuestService.begin (cognitive 17): GuestService.begin has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 6, error handling 2 (3 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":"agent/guest/runtime.py"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e05c46d2d08e138a39dc640a261cc2def008ec36b9775bcf1cefc9bb4f165a6"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation_store._merge_one_agent (cognitive 17): conversation_store._merge_one_agent has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 4 (5 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":"agent/memory/conversation_store.py"},"region":{"startLine":3061}}}],"partialFingerprints":{"codehealthFindingId/v1":"a252fb464245783fcbe246500300105d677281271d5e0b0bd49c85b6b760af6e"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentStreamExecutor._select_tools_for_injection (cognitive 17): AgentStreamExecutor._select_tools_for_injection has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7, ternaries 3 (6 pts), boolean chains 3, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent_stream.py"},"region":{"startLine":1470}}}],"partialFingerprints":{"codehealthFindingId/v1":"656d424c45e3b58e603c258693657a2699b7339094dde534b957f7ed6d66ee0c"}},{"ruleId":"D2","level":"warning","message":{"text":"message_utils.drop_orphaned_tool_results_openai (cognitive 17): message_utils.drop_orphaned_tool_results_openai has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/message_utils.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07c9a4175f6bf0004c448a95fba8bbb042d27a4172c3a83d937ee25d774039f"}},{"ruleId":"D2","level":"warning","message":{"text":"step_writer._closed_prefix (cognitive 17): step_writer._closed_prefix has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/step_writer.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8438e9323d23f0aa817ac49763da83d1c615384fb4abd52c147e3beacd8d97"}},{"ruleId":"D2","level":"warning","message":{"text":"frontmatter.parse_metadata (cognitive 17): frontmatter.parse_metadata has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (4 pts), error handling 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":"agent/skills/frontmatter.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c8b7b06c24c6704ec3d60947768f06bbd4c9a38731662b3c626ac184287255"}},{"ruleId":"D2","level":"warning","message":{"text":"exit_codes._last_segment (cognitive 17): exit_codes._last_segment has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/bash/exit_codes.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd6993e082bb6018bb93bc02d1f91d5b6d9a4dd7726f58ceee094ff9273a4e2"}},{"ruleId":"D2","level":"warning","message":{"text":"browser_service._process_table (cognitive 17): browser_service._process_table has cognitive complexity 17 (threshold 15). Drivers by points: error handling 3 (6 pts), if/else 3 (6 pts), loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/browser/browser_service.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"92cd81ad94ab258f2c331c3dd85c2677a631c7c9bc9a60703214479fd8e7e369"}},{"ruleId":"D2","level":"warning","message":{"text":"Read._paginate (cognitive 17): Read._paginate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 1 (2 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":"agent/tools/read/read.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"728ecb4df35f35e1f5b8078630ae0af601bea5a6a876eeb1234a3f06311acf3d"}},{"ruleId":"D2","level":"warning","message":{"text":"integration.effective_task_agent_id (cognitive 17): integration.effective_task_agent_id has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 3, error handling 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/integration.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21a27cc5627925c9ba7081a7f35936589f1867aff93f3b23976087344d16a13"}},{"ruleId":"D2","level":"warning","message":{"text":"RecipientStore.remember (cognitive 17): RecipientStore.remember has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 4 (7 pts), error handling 1 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/recipient_store.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"7351205830eb69e1295d0fd1502c32b4971bef6f178eaf7692c1fa69e6fd4e59"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolManager._teardown_mcp_server (cognitive 17): ToolManager._teardown_mcp_server has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), loops 3 (5 pts), error handling 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":"agent/tools/tool_manager.py"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5c05858ed4371e7e7ee3780666d038f300ec4b0e912884e0ab1179235cf98d"}},{"ruleId":"D2","level":"warning","message":{"text":"WebSearch._search_specstream (cognitive 17): WebSearch._search_specstream has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 4, ternaries 1 (2 pts), loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/web_search/web_search.py"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b86d054c71471a7d836a9632295eb67ec48d015041d6e11ebdd6f0b0a6ac6b3"}},{"ruleId":"D2","level":"warning","message":{"text":"app._sync_builtin_skills (cognitive 17): app._sync_builtin_skills has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), error handling 2 (4 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":"app.py"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"26838ea62ef61bd6532ab453e440ffe9eacc0e0a9504d513e9357f98cbbfd91f"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentInitializer._attribute_history (cognitive 17): AgentInitializer._attribute_history has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (9 pts), ternaries 1 (4 pts), boolean chains 3, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_initializer.py"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44d0830d56099d63dea997ac6e70e3924577627bcc1f7f068dbbfcfca307fce"}},{"ruleId":"D2","level":"warning","message":{"text":"DingTalkCardStreamer._on_agent_end (cognitive 17): DingTalkCardStreamer._on_agent_end has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, 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":"channel/dingtalk/dingtalk_stream_card.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c0c5a68f6ae1f24d84b096bfb654331c593e6a7431623ac30f1475d711a255"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsHandler._tts_capability (cognitive 17): ModelsHandler._tts_capability has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 3 (5 pts), ternaries 3, loops 1 (2 pts) (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":"channel/web/api/models.py"},"region":{"startLine":1291}}}],"partialFingerprints":{"codehealthFindingId/v1":"d119b6c5773be86424b71cbba08b8e5f85c8bedbd7a269392b9cbb8add1b175a"}},{"ruleId":"D2","level":"warning","message":{"text":"sessions._session_settings_state (cognitive 17): sessions._session_settings_state has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 4, ternaries 3, error handling 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/sessions.py"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"10608833e46036c2166b7c23b1c7bb47a8e1d2eca8f3cb27f63ba6a412309e9c"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillsHandler.GET (cognitive 17): SkillsHandler.GET has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 2 (6 pts), boolean chains 1, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/skills.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"027bc6b8e32dbcf0c98ae5395f2cdf5ea8a0861cf122af32c7bf8d4a44ccbb42"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillUploadHandler.POST (cognitive 17): SkillUploadHandler.POST has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 5, error handling 2, ternaries 1 (2 pts), loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/skills.py"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"09bc5c9473546adf01b523eaf37426ea37e5ecda28c1a1186057b788b9028680"}},{"ruleId":"D2","level":"warning","message":{"text":"skills._market_spec (cognitive 17): skills._market_spec has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 2, error handling 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/skills.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"581b2f55e21fd6c19e431bb15a92025fea0fca11f5f3122b6a32d4d80c6a2556"}},{"ruleId":"D2","level":"warning","message":{"text":"Dequeue.putleft (cognitive 17): Dequeue.putleft has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (6 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/dequeue.py"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"3893ff1d2af2150441e976366319334963ed3fa45d1257c13697c95a157170ed"}},{"ruleId":"D2","level":"warning","message":{"text":"office_text.iter_pptx_shape_text (cognitive 17): office_text.iter_pptx_shape_text has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 3 (7 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":"common/office_text.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0919a5d8e36dd7620f08ec309d09a758c0d10faa45c197dbd6d1b95dbd603f5"}},{"ruleId":"D2","level":"warning","message":{"text":"config.sync_image_generation_custom_provider_env (cognitive 17): config.sync_image_generation_custom_provider_env has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, ternaries 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config.py"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc37ea21b60ed768e98f01b9a2e6fd4f1010cebb6dcfb5a36eed940651106d8"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatGPTBot.reply_image (cognitive 17): ChatGPTBot.reply_image has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 5, error handling 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":"models/chatgpt/chat_gpt_bot.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d25a467113955067feebea7f71df3d307fa0d7f033cdcbab2d7c456ea98002"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeAPIBot.reply (cognitive 17): ClaudeAPIBot.reply has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 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":"models/claudeapi/claude_api_bot.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8741e55878a4855983418d71b41d6671c25d4a6be8e0718b4eeb4e228fd6cd6"}},{"ruleId":"D2","level":"warning","message":{"text":"link_ai_bot._linkai_error_body (cognitive 17): link_ai_bot._linkai_error_body has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 6, loops 1 (2 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/linkai/link_ai_bot.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bed5759401d8e47f7253f946b19b8c414c56b36c0a1eb7e7313a1f3a581b287"}},{"ruleId":"D2","level":"warning","message":{"text":"MinimaxBot.reply_text (cognitive 17): MinimaxBot.reply_text has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (15 pts), error handling 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/minimax/minimax_bot.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"897139e0450b75f39e418624417a0247efb07dd7728f362a75010f11f4fdda4e"}},{"ruleId":"D2","level":"warning","message":{"text":"MinimaxBot.call_with_tools (cognitive 17): MinimaxBot.call_with_tools has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, error handling 1, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/minimax/minimax_bot.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42d2e48543a0222fab1a1c0a591150ee3f30ebdb88488e3d37d86c061c601c3"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelScopeBot.reply (cognitive 17): ModelScopeBot.reply has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 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":"models/modelscope/modelscope_bot.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"de765757c4bda8e375d8124a1665204e17f8283f23cd7c75652d5edd3f82628e"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelScopeBot.reply_text (cognitive 17): ModelScopeBot.reply_text has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 3 (5 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/modelscope/modelscope_bot.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"4206b3e28277c52eca465b87f6a2731e1315b6ce1addf661b948c5158f16814a"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIBot.reply (cognitive 17): OpenAIBot.reply has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 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":"models/openai/open_ai_bot.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceaa8c2b29327d8b8f9899315b36b16ef3255825ffff8fda77ca1bcc70bb07b9"}},{"ruleId":"D2","level":"warning","message":{"text":"state.messagesDiv.addEventListener(\u0022scroll\u0022) (cognitive 17): state.messagesDiv.addEventListener(\u0022scroll\u0022) has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 3 (9 pts), if/else 4 (7 pts), boolean chains 1 (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/state.js"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bac9d15e90d54eada37cf89185c22726f8af24283bd7bcc7478c1906f46c3fc"}},{"ruleId":"D2","level":"warning","message":{"text":"agents.setAgentKnowledgeMode (cognitive 17): agents.setAgentKnowledgeMode has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6, error handling 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":"channel/web/static/js/views/agents.js"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0395e07635f5e2ccf8a64e4ad77bff48c56ff05b05a3e3f20a8640147b9716e"}},{"ruleId":"D2","level":"warning","message":{"text":"menu-editor._meOnClick (cognitive 17): menu-editor._meOnClick has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 8. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/menu-editor.js"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb7ef9fa75f4a0d8b589442d555fcfaa44f1b9fbcaf84b6b000b45ed76c952b"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace.document.addEventListener(\u0022click\u0022) (cognitive 17): workspace.document.addEventListener(\u0022click\u0022) has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), error handling 2 (3 pts), boolean chains 2, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/workspace.js"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0ce8446a72f9aa953d67990dc4adf6c85a70c8c32f9aae3c0953741763bbb2"}},{"ruleId":"D2","level":"warning","message":{"text":"updater.setUpdateFeedQuery (cognitive 17): updater.setUpdateFeedQuery has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, 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":"desktop/src/main/updater.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd03db85df1e8f97e4ddf1678d6df0efa27549c67d1f1595f3cb1a5d3ed3608"}},{"ruleId":"D2","level":"warning","message":{"text":"primitives.Dropdown (cognitive 17): primitives.Dropdown has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, ternaries 5, if/else 4. Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 6 function items inside it that branch (place, a function literal at line 174, a function literal at line 168, \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":"desktop/src/renderer/src/pages/settings/primitives.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb0789019e36e93397ffb180576034f162dd81349ec0b3c12109ddd521810ec"}},{"ruleId":"D2","level":"warning","message":{"text":"chatStore.historyToMessage (cognitive 17): chatStore.historyToMessage has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 2 (3 pts), ternaries 3, loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/chatStore.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"8981a5ef2067f0e5b6a5fb1c9becc92e4b133e550280b81444a2eb3ed093bc21"}},{"ruleId":"D2","level":"warning","message":{"text":"Markdown.md.core.ruler.after(\u0022linkify\u0022,\u0022fix_greedy_linkify\u0022) (cognitive 17): Markdown.md.core.ruler.after(\u0022linkify\u0022,\u0022fix_greedy_linkify\u0022) has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/Markdown.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa52f1c3e9995b7339157dc2fe0256e14270d61eb67942c90eb8b1feb0d6a64"}},{"ruleId":"D2","level":"warning","message":{"text":"ShareEditor.ShareEditor::fill (cognitive 17): ShareEditor.ShareEditor::fill has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, ternaries 8. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 2 other methods here (ShareEditor.ShareEditor, ShareEditor.ShareEditor::save) 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":"desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d740c4408e47ce14cc9cd764eea8eb59256c8bb72536d072415e395203b1c7"}},{"ruleId":"D2","level":"warning","message":{"text":"KnowledgePage.findFileByName (cognitive 17): KnowledgePage.findFileByName has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 4, loops 4, ternaries 1 (nesting depth added 4). Of this number, 9 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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5e6fdc4f437b34a1dcbdc27d3c8c387c07c58d9a65ec5f0df61159ade4761b"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelsPage.ChannelCard::run (cognitive 17): ChannelsPage.ChannelCard::run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 3 (6 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. This shape REPEATS in the file: one other method here (ChannelsPage.ChannelCard) 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":"desktop/src/renderer/src/pages/ChannelsPage.tsx"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e821a9efb1ed40d13552175088f5259618214b6dc90b008b6b17b49623a334"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 17): (anonymous) has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), error handling 2 (3 pts), boolean chains 2, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/workspace.js"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0271b31db2827e0701787023d942e9851cb47b5e33e1254d6d74b3e38665148"}},{"ruleId":"D2","level":"warning","message":{"text":"_artMountThumb (cognitive 17): _artMountThumb has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 3, error handling 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 4). Of this number, 10 points are the body\u0027s own statements and 7 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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"94af56e8214a1a1bc973d419449912a8f3c2a8cfcf8e619580d57cc8e3390186"}},{"ruleId":"D2","level":"warning","message":{"text":"_artTogglePin (cognitive 17): _artTogglePin has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 7, error handling 1, ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 921, 924, 942, \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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed3036dc17959a6e96e46b3a27c121324cda443ea8ca68e2393d4b85acdb2bb"}},{"ruleId":"D2","level":"warning","message":{"text":"renderChannelTeam (cognitive 17): renderChannelTeam has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (8 pts), boolean chains 5, if/else 4 (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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2c44c3d7f69419f1e189f2889e4729e38a7ddb3472b4fd71f2420c495efe39"}},{"ruleId":"D2","level":"warning","message":{"text":"_sessionItemEl (cognitive 17): _sessionItemEl has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 9, boolean chains 7, if/else 1. Of this number, 16 points are the body\u0027s own statements and 1 belongs 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":"channel/web/static/js/views/sessions.js"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"df170f4bece6f50e3d55db627b519f67d70f3651ce58a1c3168ea448104ae193"}},{"ruleId":"D2","level":"warning","message":{"text":"session_service.optimize_prompt (cognitive 16): session_service.optimize_prompt has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, loops 1 (2 pts), error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/chat/session_service.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ccd494b16b82184bcf8643f3bd0088fb3f8d6587e2a2f2190af5f69dcec711"}},{"ruleId":"D2","level":"warning","message":{"text":"PathGuard.resolve (cognitive 16): PathGuard.resolve has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 5, error handling 1, loops 1, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/guest/paths.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a409ad16344419a982bfcb8dee07e67b61d83a085d74b4b4b45af4c5de97254a"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationStore.prune_scheduled_messages (cognitive 16): ConversationStore.prune_scheduled_messages has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2, boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8af13c8ec0c6b2d8fd327f02fd7ecdbb9cbb1f2d990a534336205f1295f5e79"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation_store._merge_secondary_agents (cognitive 16): conversation_store._merge_secondary_agents has cognitive complexity 16 (threshold 15). Drivers by points: error handling 4 (8 pts), if/else 3 (6 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":3000}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e5e51342f3e4f0514efbeb5d40786d5a420bd3c24cb7221a88a8c3f4b0c772"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryStorage._init_db (cognitive 16): MemoryStorage._init_db has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 3 (4 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/storage.py"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"38edbd2c438fd10575e9cb0a7790dc5466e4827846fdfa6ea9e24e4767cc3614"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryFlushManager._extract_summary_fallback (cognitive 16): MemoryFlushManager._extract_summary_fallback has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 2, 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":"agent/memory/summarizer.py"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde0047323d094c91a38ad2b9cb60fbc60c23fde2addee4ca7fc018bc2b1cbc5"}},{"ruleId":"D2","level":"warning","message":{"text":"builder._build_skills_section (cognitive 16): builder._build_skills_section has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 2 (4 pts), loops 1 (2 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/prompt/builder.py"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"58eade99936542dbda7e3b91364979ad9760757ec9110b465c1e08811a0ce127"}},{"ruleId":"D2","level":"warning","message":{"text":"Agent.apply_project_dir (cognitive 16): Agent.apply_project_dir has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c8c55279ab839d20c09c667524883dfa1771f2a70a7a079c913411ed7b522a"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.resolve_family_spec (cognitive 16): agent.resolve_family_spec has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 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":"agent/protocol/agent.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7516fe03086a073462941166eceae2028c873962c1b1dc4a255d0ed732a11e8b"}},{"ruleId":"D2","level":"warning","message":{"text":"message_utils.identify_complete_turns (cognitive 16): message_utils.identify_complete_turns has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 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":"agent/protocol/message_utils.py"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a251fab03f3e276b84706d03ee6d899d868cb11747d3d89363786a5416ce83a"}},{"ruleId":"D2","level":"warning","message":{"text":"config.get_missing_requirements (cognitive 16): config.get_missing_requirements has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/skills/config.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1902cef9bdce896390d70c0949d26013bf954a5a88750aa86382e96e46c2b89"}},{"ruleId":"D2","level":"warning","message":{"text":"McpClient._sse_post (cognitive 16): McpClient._sse_post has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), error handling 4 (6 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":"agent/tools/mcp/mcp_client.py"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"765a15afd0c2a9b22d4a1f16e879d18555b6fcf1e4369c14817b90d0995b7974"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp_oauth.discover_metadata (cognitive 16): mcp_oauth.discover_metadata has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 6 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/mcp/mcp_oauth.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"207a8c4227669f91401db444467e35fc7d0596306f2a21fc4519de1373cee0ec"}},{"ruleId":"D2","level":"warning","message":{"text":"integration._run_scheduled_task (cognitive 16): integration._run_scheduled_task has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), error handling 2 (3 pts), boolean chains 2, 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":"agent/tools/scheduler/integration.py"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdebcc046f77c52c42aec3f68a22bff6143ee7609679a9eba16e3795b1a2e68"}},{"ruleId":"D2","level":"warning","message":{"text":"truncate.truncate_tail (cognitive 16): truncate.truncate_tail has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/utils/truncate.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"2847a9f58cc741e675139aba71e1fd889e770e0589f712b0d1ce8ff3789efb98"}},{"ruleId":"D2","level":"warning","message":{"text":"WebFetch._fetch_deepseek (cognitive 16): WebFetch._fetch_deepseek has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, boolean chains 4, error handling 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":"agent/tools/web_fetch/web_fetch.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"3675e49981d47c45a889c1faa713ba57ed2f428de6cda15296be2e994b8dec16"}},{"ruleId":"D2","level":"warning","message":{"text":"session_prefs.set_prefs (cognitive 16): session_prefs.set_prefs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 2 (4 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":"agent/workspace/session_prefs.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc24b455b34b66c4919b0d640bbfa3cbea9840e1cd8b9f7a40350d9692114a37"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentLLMModel._primary_bot_type (cognitive 16): AgentLLMModel._primary_bot_type has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 3, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_bridge.py"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"751abbd8c969033d84ecb0887e5c749246c3c63459b9eac1ee35f40b027bd27d"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatChannel._send_reply (cognitive 16): ChatChannel._send_reply has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 6, loops 1 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/chat_channel.py"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"373e970ab987b31f8d99131b09c501cca13d9c324c340a319b69e4550430dc3b"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscordChannel._parse_message (cognitive 16): DiscordChannel._parse_message has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 6, 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":"channel/discord/discord_channel.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5653368173b1c55707b98f7024a4ec92f234d74dedc8dc61554c046dd93b96"}},{"ruleId":"D2","level":"warning","message":{"text":"GuestSessionHandler.POST (cognitive 16): GuestSessionHandler.POST has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/guest.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf842ec7eba3463675307355548afd4de31d00599b4b18b080e8c7888d3e0ab"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsHandler._chat_fallback_capability (cognitive 16): ModelsHandler._chat_fallback_capability has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 3 (5 pts), loops 1 (2 pts), 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":"channel/web/api/models.py"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"650a286bd33a786935be9cd3a488563724259c7a9595ad8f84fd9bf0c5db4eb8"}},{"ruleId":"D2","level":"warning","message":{"text":"WeixinChannel.startup (cognitive 16): WeixinChannel.startup has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/weixin/weixin_channel.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a0e39342bdfbe64685c2785a1ed62d1324cf50de9ded8c8cab23923e457c0d"}},{"ruleId":"D2","level":"warning","message":{"text":"install._playwright_cli (cognitive 16): install._playwright_cli has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), error handling 3 (5 pts), loops 2 (3 pts), 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":"cli/commands/install.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4cee75a7dfbbd833cb5cec054a933ee0f5b31598f73b5d219399cf0d851617"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledge._stats (cognitive 16): knowledge._stats has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 3 (5 pts), ternaries 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":"cli/commands/knowledge.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54ed39264283a8d527148b04f26d5db65d765f7a6b2d4a8a8bafb6102951fbd"}},{"ruleId":"D2","level":"warning","message":{"text":"process.start (cognitive 16): process.start has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 1 (2 pts), 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":"cli/commands/process.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c52d34ffb054ce9db6b3ca8271991a4a9048a6ab8b1b1dc44ae9d0816ea232"}},{"ruleId":"D2","level":"warning","message":{"text":"process.update (cognitive 16): process.update has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/process.py"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ede59cca2eb3f7bc1861d07b73b22a8c5b1ce9ec2f107d2d790ea0c427c919"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudClient._handle_channel_update (cognitive 16): CloudClient._handle_channel_update has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/cloud_client.py"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"003103acf847a7896b3ede1e35b536f8de09f7a0a9b6c21a9273a366401ef456"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatGPTSession.discard_exceeding (cognitive 16): ChatGPTSession.discard_exceeding has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, 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":"models/chatgpt/chat_gpt_session.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89d022a473301fbb6b408efbd04c7f70498d945c5bca127b41a26920a70e4ef"}},{"ruleId":"D2","level":"warning","message":{"text":"DashscopeBot.reply_text (cognitive 16): DashscopeBot.reply_text has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/dashscope/dashscope_bot.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb8c6a51cd1346bab6fdb3f943dcc7ff859c529505455352eeec87d7f6919d5"}},{"ruleId":"D2","level":"warning","message":{"text":"DashscopeSession.discard_exceeding (cognitive 16): DashscopeSession.discard_exceeding has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, 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":"models/dashscope/dashscope_session.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"349bcb6b3a13815c71e3a68d96b6f242a3dbbadff423c628783e144d03a71934"}},{"ruleId":"D2","level":"warning","message":{"text":"DeepSeekSession.discard_exceeding (cognitive 16): DeepSeekSession.discard_exceeding has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, 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":"models/deepseek/deepseek_session.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b175dca60b60dddfeafc9a2e02626477b2d637a1679af418374a3c42df5ca286"}},{"ruleId":"D2","level":"warning","message":{"text":"DoubaoSession.discard_exceeding (cognitive 16): DoubaoSession.discard_exceeding has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, 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":"models/doubao/doubao_session.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbdde1cd64cd39d2c51237e8d333206ac2ee4bd7acc1f791757a04c9693c268b"}},{"ruleId":"D2","level":"warning","message":{"text":"MimoBot.reply_text (cognitive 16): MimoBot.reply_text has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), error handling 2 (3 pts), loops 1 (2 pts), boolean chains 1, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/mimo/mimo_bot.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6296dc877b893e1f38334f899714a74b320ce58bc15e93b8e769e48fc42a8a3"}},{"ruleId":"D2","level":"warning","message":{"text":"MimoSession.discard_exceeding (cognitive 16): MimoSession.discard_exceeding has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, 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":"models/mimo/mimo_session.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c167ea5b09d6ef73ae829c243ae56f724f713b8209848d19de2007fd5af50a5"}},{"ruleId":"D2","level":"warning","message":{"text":"MinimaxSession.discard_exceeding (cognitive 16): MinimaxSession.discard_exceeding has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, 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":"models/minimax/minimax_session.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ef54853317a2b004162520ebf44c20138fdb5582e0df048479fb104fb94e96"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelScopeBot.create_img (cognitive 16): ModelScopeBot.create_img has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 1, 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":"models/modelscope/modelscope_bot.py"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2275a00fd93f6235691b5fbf85da9df6f97afcd5fc909ddbff424d9f68b404a"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelScopeSession.discard_exceeding (cognitive 16): ModelScopeSession.discard_exceeding has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, 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":"models/modelscope/modelscope_session.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9fdf92be7a4baec18248420ba0328db800bc35f99d6c5f5acdb5c242a425f6b"}},{"ruleId":"D2","level":"warning","message":{"text":"MoonshotSession.discard_exceeding (cognitive 16): MoonshotSession.discard_exceeding has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, 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":"models/moonshot/moonshot_session.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ca5137f1c1c51d3eb2c338965c542a7ac7094be1d479cb699679b0c52e999f"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAISession.discard_exceeding (cognitive 16): OpenAISession.discard_exceeding has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, 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":"models/openai/open_ai_session.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53b3df88400b59ac3fe780765f72a5f1b4ec1ae5ffc50ec1b3a95c278f78863"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIHTTPClient._iter_sse_events (cognitive 16): OpenAIHTTPClient._iter_sse_events has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/openai/openai_http_client.py"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00c7f6354a277261bdb086ebc5f0c3cd3035d9c531f3fadb8b744d183676e26"}},{"ruleId":"D2","level":"warning","message":{"text":"QianfanSession.discard_exceeding (cognitive 16): QianfanSession.discard_exceeding has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, 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":"models/qianfan/qianfan_session.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6499a8154a1647af5884b6c194254cb23b6dc7b0e538d5f0afeaac75584b5a"}},{"ruleId":"D2","level":"warning","message":{"text":"ZhipuAISession.discard_exceeding (cognitive 16): ZhipuAISession.discard_exceeding has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, 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":"models/zhipuai/zhipu_ai_session.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ddee12b292cae4e8790acb9fb4a71e69471dc468a42181680c81a748934b09"}},{"ruleId":"D2","level":"warning","message":{"text":"WordsSearch.FindAll (cognitive 16): WordsSearch.FindAll has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (5 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. This shape REPEATS in the file: one other method here (WordsSearch.Replace) 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":"plugins/banwords/lib/WordsSearch.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ddc392ab73d2a6ad38824968cc9d1ac2011c3ed77bde746f47fd8c6a6d09af"}},{"ruleId":"D2","level":"warning","message":{"text":"WordsSearch.Replace (cognitive 16): WordsSearch.Replace has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (5 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. This shape REPEATS in the file: one other method here (WordsSearch.FindAll) 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":"plugins/banwords/lib/WordsSearch.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb08cc5b808258a7ed23e8ac270b47b9b91d66b1fab4b324d3f5671f225f12a"}},{"ruleId":"D2","level":"warning","message":{"text":"CowCliPlugin._build_aliases (cognitive 16): CowCliPlugin._build_aliases has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 2, loops 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/cow_cli/cow_cli.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f889b6768ebbde60cae36357550de5af0b0011f725a397ede12f058e485c2c"}},{"ruleId":"D2","level":"warning","message":{"text":"CowCliPlugin._cmd_tasks (cognitive 16): CowCliPlugin._cmd_tasks has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 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":"plugins/cow_cli/cow_cli.py"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"076805cfce7aa137b48d110514e3cd02dcd11e01fb07785ce3b55ad9fe489d22"}},{"ruleId":"D2","level":"warning","message":{"text":"CowCliPlugin._format_tasks (cognitive 16): CowCliPlugin._format_tasks has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 4 (5 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/cow_cli/cow_cli.py"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"4883d9f51475edaf8492d4a045cb31e2120815275da485c774d44b63e9964559"}},{"ruleId":"D2","level":"warning","message":{"text":"CowCliPlugin._knowledge_stats (cognitive 16): CowCliPlugin._knowledge_stats has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 3 (5 pts), ternaries 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":"plugins/cow_cli/cow_cli.py"},"region":{"startLine":1949}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4441903d8235ebde7673166745fd78f11744d5ad94516c4eb057c5332b8cd96"}},{"ruleId":"D2","level":"warning","message":{"text":"Godcmd.__init__ (cognitive 16): Godcmd.__init__ has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 3, error handling 1 (2 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/godcmd/godcmd.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"54cb1eaff5a49c70cb7a1a36dcdd9db4e3d2722b3951a56d59b4ddbd59dc107c"}},{"ruleId":"D2","level":"warning","message":{"text":"Role._load_role_file (cognitive 16): Role._load_role_file has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (3 pts), boolean chains 1, 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":"plugins/role/role.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eef0a3134c0f81152f93787777f92616e472542b4c620e76467a88c745ed432"}},{"ruleId":"D2","level":"warning","message":{"text":"scheduler-notify.maybeNotifyScheduledRun (cognitive 16): scheduler-notify.maybeNotifyScheduledRun 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":"channel/web/static/js/chat/scheduler-notify.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0c4347ec1e183d4e53330c6d6ffd6b93aa9258539e184cc051c94a837840de"}},{"ruleId":"D2","level":"warning","message":{"text":"state.handleFolderSelect (cognitive 16): state.handleFolderSelect has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 3, loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 6). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 931). 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":"channel/web/static/js/chat/state.js"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ccd28d157a26f7055ad50daf115edcf77f5abf39bff27981e5a1a487316901"}},{"ruleId":"D2","level":"warning","message":{"text":"agents.highlightMentions (cognitive 16): agents.highlightMentions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 3, loops 2, ternaries 1 (nesting depth added 3). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1111, 1100, 1089). 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":"channel/web/static/js/views/agents.js"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6cf6b62becdeb0def88d153602b889ef4b51c6f0bfe5aaeccde2abcf2ac4681"}},{"ruleId":"D2","level":"warning","message":{"text":"artifacts._artRenderPreviewChrome (cognitive 16): artifacts._artRenderPreviewChrome has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 4, ternaries 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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"059c0c304e0390cd86beea276b633f912c9b4ddf8779977d7aa31c962e2157b9"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledge.openKnowledgeDialog::submitAction (cognitive 16): knowledge.openKnowledgeDialog::submitAction has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (13 pts), if/else 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":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"de99f846ed6a05881456f0f27277f7ddcfb0e08fd57899829c7f02c525bd5ac7"}},{"ruleId":"D2","level":"warning","message":{"text":"sessions.switchSession (cognitive 16): sessions.switchSession has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 2, error handling 1 (2 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":"channel/web/static/js/views/sessions.js"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ab3b17bb881839750a414ba6e93d90d91a206ac39929e15dd82900e9124664"}},{"ruleId":"D2","level":"warning","message":{"text":"shares._saveShareLogo (cognitive 16): shares._saveShareLogo has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 2 (7 pts), if/else 3 (4 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 7). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 813). 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":"channel/web/static/js/views/shares.js"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"729ca02355604d7843c84147f3fd693d9b8707ff3e5eb222a4fd05740404a273"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.saveMcpEditor (cognitive 16): skills.saveMcpEditor has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 5, error handling 2 (nesting depth added 3). Of this number, 14 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/skills.js"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07b0d833c9d62e3376e6894c4b853af46d3a84486bd1719eb6f17256c56f1ac"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace.savePreviewEdit (cognitive 16): workspace.savePreviewEdit has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 4, ternaries 2, 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":"channel/web/static/js/workspace.js"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"32537f5c864e2c8670189b2f22940800446f62503be73fc7eaa726bbce051f0c"}},{"ruleId":"D2","level":"warning","message":{"text":"http-relay.relay (cognitive 16): http-relay.relay has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, boolean chains 4, loops 2 (3 pts), error handling 1 (nesting depth added 1). None of this is in the body itself: all 16 points belong to 6 function literals inside it that branch (lines 31, 72, 83, \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":"desktop/src/main/http-relay.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ad4ede968e7ecc0f3e855e4d12f93adbb43250441633c251983f93f91deced"}},{"ruleId":"D2","level":"warning","message":{"text":"index.createWindow (cognitive 16): index.createWindow has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 3, ternaries 2 (nesting depth added 1). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 520, a function literal at line 457, a function literal at line 508, \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":"desktop/src/main/index.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f14884f7082abd158101b92bca9d8745137321cbf6c9ad874cca10d7d4e65b"}},{"ruleId":"D2","level":"warning","message":{"text":"chatStore.useChatStore.loadHistory (cognitive 16): chatStore.useChatStore.loadHistory has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 5, if/else 4 (5 pts), ternaries 4 (5 pts), error handling 1 (nesting depth added 2). Of this number, 14 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, 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":"desktop/src/renderer/src/store/chatStore.ts"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2f2c7a8930468d10f25d4a0d2d65e2001ff3bf4b4f8cf44f4fe3bd5541032a"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentAvatar.AgentAvatar (cognitive 16): AgentAvatar.AgentAvatar has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, if/else 4 (5 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":"desktop/src/renderer/src/components/AgentAvatar.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6501c18347bda27ea9a6dae5615a0a8182d0451beacf6ff87308ae0ea5efc7d0"}},{"ruleId":"D2","level":"warning","message":{"text":"Markdown.Markdown (cognitive 16): Markdown.Markdown has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6 (nesting depth added 3). None of this is in the body itself: all 16 points belong to 2 function literals inside it that branch (lines 239, 235). 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":"desktop/src/renderer/src/components/Markdown.tsx"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be5671989939f3b42305da066b21177874d17375b1bf7bbb88a7c5d950661fa"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentSelector.AgentSelector (cognitive 16): AgentSelector.AgentSelector has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 13, ternaries 3. Of this number, 14 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/AgentSelector.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a829d7bbebe69c671dbfc5f4a20ba6ee9572d152bab389e595a4bb5e9140616e"}},{"ruleId":"D2","level":"warning","message":{"text":"BasicSettings.BasicSettings::loadConfig (cognitive 16): BasicSettings.BasicSettings::loadConfig has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, ternaries 3 (4 pts), if/else 2, 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. This shape REPEATS in the file: one other method here (BasicSettings.BasicSettings) 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":"desktop/src/renderer/src/pages/settings/BasicSettings.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da2f2741474cd782a9483d1c624580721d6c751844e3c4849133b15a2112496"}},{"ruleId":"D2","level":"warning","message":{"text":"DocEditor.DocEditor (cognitive 16): DocEditor.DocEditor has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, boolean chains 6, loops 1. Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 5 function items inside it that branch (onKeyDown, a function literal at line 108, a function literal at line 100, \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":"desktop/src/renderer/src/components/DocEditor.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2296bd5bb8b34530573fbf386e8a28afb0328ae5769e148bbec63d21c2b169bc"}},{"ruleId":"D2","level":"warning","message":{"text":"mcpConfig.configForJson (cognitive 16): mcpConfig.configForJson has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 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":"desktop/src/renderer/src/pages/skills/mcpConfig.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b1b4a775cc47f5681e43eb2b3c386570e7d1da9d1f1e05207bc6bc4ef21b54"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillAddModal.PreviewCard (cognitive 16): SkillAddModal.PreviewCard has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 11, ternaries 5. Of this number, 13 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/skills/SkillAddModal.tsx"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a2f638b5878a1dc8546d73f51e1be8acafa7c30574535ed0872afb791aa576"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillsPage.SkillFileTree (cognitive 16): SkillsPage.SkillFileTree has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (10 pts), if/else 2 (3 pts), boolean chains 2, loops 1 (nesting depth added 4). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 3 function items inside it that branch (a function literal at line 216, hiddenByFold, a function literal at line 224). 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":"desktop/src/renderer/src/pages/SkillsPage.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ef39011c6a1813adc71a0ea718ac39b7c6eff0ab5e7b1056ecb5df36917c0b"}},{"ruleId":"D2","level":"warning","message":{"text":"sendVoiceMessage (cognitive 16): sendVoiceMessage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 2, error handling 1, ternaries 1 (nesting depth added 3). 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 items inside it that branch (a function literal at line 43, postWithRetry, a function literal at line 66, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/message-actions.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"831aa4fc9fc745a84b531398ae36fd1a9d6121f50b42c8ee84067126aaf2462a"}},{"ruleId":"D2","level":"warning","message":{"text":"startSSE::connect::onerror (cognitive 16): startSSE::connect::onerror has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/send.js"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a3b4b01e5cfefe0413656caeb4908312f6aebd726ed7e7a67a6b9f2bdd566d"}},{"ruleId":"D2","level":"warning","message":{"text":"_artRemove (cognitive 16): _artRemove has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, error handling 1 (nesting depth added 2). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 992, 1010, 991, \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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99305eb0d5c40e24b8831eab9abd013a5959f6eb1ee07b8efb31f648e6b980d"}},{"ruleId":"D2","level":"warning","message":{"text":"startWeixinQrLogin (cognitive 16): startWeixinQrLogin has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, error handling 1, ternaries 1 (nesting depth added 3). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 204, 229, 203, \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":"channel/web/static/js/views/channels-weixin.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b83b9b4b3f3b35d5bda3fc49c81cb24cd5767c98265929ffad722a7b83433e"}},{"ruleId":"D2","level":"warning","message":{"text":"syncReasoningEffortOptions (cognitive 16): syncReasoningEffortOptions has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, if/else 3, ternaries 2 (3 pts) (nesting depth added 1). Of this number, 15 points are the body\u0027s own statements and 1 belongs 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":"channel/web/static/js/views/config.js"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5bd46b845d096f3f69dbd1e83c925f3521de8df6e13f828cb2d64b69152d74e"}},{"ruleId":"D2","level":"warning","message":{"text":"openVendorModal (cognitive 16): openVendorModal has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3 (nesting depth added 4). Of this number, 9 points are the body\u0027s own statements and 7 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":"channel/web/static/js/views/models.js"},"region":{"startLine":2064}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3d299744bdfa4a3c7c79e7dcceea6bf5a867d88bcd2ee85caa1b5767a7ac98"}},{"ruleId":"D2","level":"warning","message":{"text":"_nextOrigin (cognitive 16): _nextOrigin has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 4 (6 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/shares.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd427f2b16fff821a60316b005eb941ae478702e052b92333edddde7e2381f4"}},{"ruleId":"D2","level":"warning","message":{"text":"syncSkillAddFooter (cognitive 16): syncSkillAddFooter has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 2 (5 pts), boolean chains 4 (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":"channel/web/static/js/views/skills.js"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2fd9d414a3d57769b416e5c72c2895c2d43507755ce6bb99f1231433ec62a4f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: send.startSSE: FunctionTooLong \u2014 startSSE runs 559 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 459 over it, 5.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":"channel/web/static/js/chat/send.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"f905a68897f3260ad792c9359c87f4f8ac4edac6de5c2689843da9feb6ab8e21"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/i18n.js: FileTooLong \u2014 2636 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units), about 94% of them inside a single declaration: I18N (8-2478). The bar is 500 significant lines; this is 2136 over it, 5.27\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":"channel/web/static/js/core/i18n.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f2dad49c3a6c65797d0f45030cd0482cd5ff33ebcb7d43b08ecd74eedb3cf4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MenuEditor.EditorDialog: FunctionTooLong \u2014 EditorDialog runs 458 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 358 over it, 4.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":"desktop/src/renderer/src/components/MenuEditor.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"418532c5d49d6ab33b55fc62f618f0a3fce66044db1910fa65a25b94bc8e35a7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ApiClient: TooManyMethods \u2014 137 methods. The bar is 30 methods; this is 107 over it, 4.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/api/client.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d66320871fb8a2f54297b5f70ac0fd1eecbab833f56ecf4b78748c20ef943d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: views/models.js: FileTooLong \u2014 1953 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 1453 over it, 3.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":"channel/web/static/js/views/models.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2152b9efe7dc6ec86bdcca1a207a2edc1700b1c25998d081b2438ad9283d5b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/models.py: FileTooLong \u2014 1911 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1411 over it, 3.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":"channel/web/api/models.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65603f1bfdae777952133e3b2f0ea691063a7c6a50ca2164bb261b46cf527a1c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: protocol/agent_stream.py: FileTooLong \u2014 1871 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"agent/protocol/agent_stream.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6e1b2ed542f18b973cea9a5c4fc4d9908ab5f0b04f9268b8bb252a563e1397"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillAddModal.SkillAddModal: FunctionTooLong \u2014 SkillAddModal runs 349 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 249 over it, 3.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":"desktop/src/renderer/src/pages/skills/SkillAddModal.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"365be3661b9238941cdeb2adc0d820bec3c9a95c681af69496c24228ae7f6020"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: feishu/feishu_channel.py: FileTooLong \u2014 1635 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1135 over it, 3.27\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc103abbd208030606489d6e4a468681b14c6dffd8ef7b7b086ceb037129f24"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: memory/conversation_store.py: FileTooLong \u2014 1608 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1108 over it, 3.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":"agent/memory/conversation_store.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7efc5126ef4946ce95a3b1ddef2b6ac514bda3c53968eb6a56b937727591268"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: KnowledgeGraph.KnowledgeGraph: FunctionTooLong \u2014 KnowledgeGraph runs 316 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 216 over it, 3.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/KnowledgeGraph.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e64192a92c746490856a463925d4c60b0dec9d677420be537838c82bfc9202"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: common/cloud_client.py: FileTooLong \u2014 1507 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1007 over it, 3.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":"common/cloud_client.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc4764d9fdb46c0304398eefd6526f3952c643050cb40be84593750a8794e86"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bridge/agent_bridge.py: FileTooLong \u2014 1500 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1000 over it, 3.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":"bridge/agent_bridge.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50382488b3cf7c370186f36457841c576baf47d59a4620f94442c608a237b761"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ArtifactsPage.ArtifactsPage: FunctionTooLong \u2014 ArtifactsPage runs 296 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"desktop/src/renderer/src/pages/ArtifactsPage.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae5f5f09e2c459222e4acf29711d7db5a4750e90df9fa3c5a2214eefa032c27"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cow_cli/cow_cli.py: FileTooLong \u2014 1477 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 977 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":"plugins/cow_cli/cow_cli.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af8c6477c60d0ba9ad539587de1037496c488fb190190f0693f36f632223088"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: views/skills.js: FileTooLong \u2014 1420 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 920 over it, 2.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":"channel/web/static/js/views/skills.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42e57d8529cb92e58e30fd5c4f810a9a9d729628b3905aea29356f57e0174c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: McpEditorModal.McpEditorModal: FunctionTooLong \u2014 McpEditorModal runs 284 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 184 over it, 2.84\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/skills/McpEditorModal.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"42cc4695c581808185f62e82784f19f790a21611e142a20d4792499044f3d9c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ModelCatalogEditor.ModelCatalogEditor: FunctionTooLong \u2014 ModelCatalogEditor runs 280 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 180 over it, 2.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":"desktop/src/renderer/src/pages/settings/ModelCatalogEditor.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae254554e0aa558b489d6554ad11bc3ab8462aac2b6ed8e0b878704a093b545"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ContextUsagePopover.ContextUsagePopover: FunctionTooLong \u2014 ContextUsagePopover runs 266 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 166 over it, 2.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":"desktop/src/renderer/src/components/ContextUsagePopover.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b237979d85e97cfc5efa31eaed5b2dd22fe844ec9e85e96658e1842f5c3204"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/channel.py: FileTooLong \u2014 1284 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 784 over it, 2.57\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":"channel/web/core/channel.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7539e37f85011d8e2e5d5925805f8827d98f26d89a984ab936608970a9bf1d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/skill.py: FileTooLong \u2014 1277 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 777 over it, 2.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":"cli/commands/skill.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6979fef047ab7219ba588f1e0edc07b9c43a6168bdc283b77f9aa7b98108d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: wecom_bot/wecom_bot_channel.py: FileTooLong \u2014 1188 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 688 over it, 2.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":"channel/wecom_bot/wecom_bot_channel.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5278e22adab282b676c00b76d33e754f2fe6c31eeeb599c691b255858d82b082"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CloudClient: TooManyMethods \u2014 69 methods. The bar is 30 methods; this is 39 over it, 2.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":"common/cloud_client.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"34133f0d18a2798ec75366e3c102ebc6eeb30a77b241a9bb5d54c4fcc3c7c1d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/KnowledgePage.tsx: FileTooLong \u2014 1133 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 633 over it, 2.27\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6b9b3836980571dc666cecda249fa299982139604bea5988cd0e0a1458801e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CowCliPlugin: TooManyMethods \u2014 67 methods. The bar is 30 methods; this is 37 over it, 2.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":"plugins/cow_cli/cow_cli.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a56ff8febd3d3bfb22778748afc00e05e081f4bb98a9430a4017a73578e3cd0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: OnboardingWizard.OnboardingWizard: FunctionTooLong \u2014 OnboardingWizard runs 217 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 117 over it, 2.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/OnboardingWizard.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94dfc62a9a272f52bbe9b8083f50e45ee0a8c60c5202be6dd5350b4e4839ed5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: QrScanPanel.QrScanPanel: FunctionTooLong \u2014 QrScanPanel runs 215 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 115 over it, 2.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/QrScanPanel.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c782f5667ee514569ece0f29022c2515bc208b3674880fba3df670c6b3dfea00"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TasksPage.TasksPage: FunctionTooLong \u2014 TasksPage runs 212 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 112 over it, 2.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/TasksPage.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4aed3a9977b36c38696393b38e880247cda35d6fbf2869dce182281af740d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: guest/guest.js: FileTooLong \u2014 1050 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 550 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":"channel/web/static/guest/guest.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c164ebff8cdffad04f0d14ac6e881e372f070c6aef83969a8aed81c75866392"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/ModelsTab.tsx: FileTooLong \u2014 1046 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 546 over it, 2.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":"desktop/src/renderer/src/pages/settings/ModelsTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"376433eaad63c86635fce19dd8160fb3291a54023c7e6c8a6dac066e2661ca4f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/TasksPage.tsx: FileTooLong \u2014 1043 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 543 over it, 2.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":"desktop/src/renderer/src/pages/TasksPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81cd89562c2b1008686368d0efa115f749a125faf5bb888bd51f498412c76273"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AgentStreamExecutor: TooManyMethods \u2014 58 methods. The bar is 30 methods; this is 28 over it, 1.93\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":"agent/protocol/agent_stream.py"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"679f5b5228fc161f483a33402bc34f7751a53e2f0536659c8b206f6abb25a71f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/generate.py: FileTooLong \u2014 961 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 461 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":"skills/image-generation/scripts/generate.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e3ee49894b5fbdc9fd1863b6bfda081435b06372d493a35dc764c27acad5a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MemoryPage.MemoryPage: FunctionTooLong \u2014 MemoryPage 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":"desktop/src/renderer/src/pages/MemoryPage.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8e840aa617287da904fc4e8575aee0583b7a9a59cf2fea8f1cfcb54d71da5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: views/shares.js: FileTooLong \u2014 950 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 450 over it, 1.90\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":"channel/web/static/js/views/shares.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b39ef3cc596fa507785acfc33f4ed3c2d9c26f75625166d083a25557c15518"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkspaceSelector.WorkspaceSelector: FunctionTooLong \u2014 WorkspaceSelector runs 190 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 90 over it, 1.90\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/WorkspaceSelector.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"249da7a74dd296332c0db126cca104608d0e4a7e42ae929df5ee27c39ede99a5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ApiClient: ClassTooLong \u2014 758 significant lines (blank, comment-only and punctuation-only lines excluded), 137 methods. The bar is 400 significant lines; this is 358 over it, 1.90\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":"desktop/src/renderer/src/api/client.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"74694f87c34b68e9d784fc52b13d70106b4c2a8fd612fc7b6a00563df6452983"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: views/agents.js: FileTooLong \u2014 932 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 432 over it, 1.86\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":"channel/web/static/js/views/agents.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76372a6171b3feed251fb2b8d17abe3b99bdb4b278e5976c64e9847759462ae2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tasks-modal.saveTaskEdit: FunctionTooLong \u2014 saveTaskEdit 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":"channel/web/static/js/views/tasks-modal.js"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"831edad62d0619b32f2565905165ff8a9877fffc23ba3f6fd3d967f939c0750d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/channels.py: FileTooLong \u2014 911 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 411 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":"channel/web/api/channels.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3a0dfd6e63ce6d4854df5881938162ce0ad78897675f91fe92d8a3e9a854a9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConversationStore: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\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":"agent/memory/conversation_store.py"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7d92e31e2dce13bcfdf2cca76a79766f9115edace9ddafc3924bd83c65a20c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ModelsHandler: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\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":"channel/web/api/models.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68d8a638c083d9490c084eed2966c91c6ee1ebb5cd218ea75dd4eadb74c5db2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/client.ts: FileTooLong \u2014 892 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: ApiClient (163-1636). The bar is 500 significant lines; this is 392 over it, 1.78\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/api/client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"858bf4d1f7f3bc0ddc9c45dff70d5f900756fb06793394553cf58039aa135b16"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: web_search/web_search.py: 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":"agent/tools/web_search/web_search.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23e6be81048fb103392ba56c8bfd9a012837aff769ac50e6e009441be8ca649"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AgentBridge: TooManyMethods \u2014 53 methods. The bar is 30 methods; this is 23 over it, 1.77\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":"bridge/agent_bridge.py"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"793e48a0c9daf45ab95ecd125947c3aa4142f12ea382cfd9e62d0c11038fd994"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkspacePanel.WorkspacePanel: FunctionTooLong \u2014 WorkspacePanel runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/WorkspacePanel.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"28225d17db8a7839bba35b613eff2674d94ecc803bef9b43c43556b622065961"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bridge/agent_initializer.py: FileTooLong \u2014 873 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 373 over it, 1.75\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":"bridge/agent_initializer.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19299cab23afcf4ebc32be28d1cb6bf00073fd6bac1e5776f0158441931bb71c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: weixin/weixin_channel.py: FileTooLong \u2014 866 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 366 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":"channel/weixin/weixin_channel.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63944035ccedb8fa8e5548e374f4336e045c24293af9bb1187e827779c224549"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: artifactStore.useArtifactStore: FunctionTooLong \u2014 useArtifactStore 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":"desktop/src/renderer/src/store/artifactStore.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4eb9ccd34af38028a6e9c0d0e180797f4c13257db09a78071c7fbc5f7be0d4c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChatInput: ClassTooLong \u2014 690 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 290 over it, 1.73\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":"desktop/src/renderer/src/components/ChatInput.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4383b285ba38b2ce45374b1393cc4a859a1735a49a304cb4f01d319fa0e680be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: js/workspace.js: FileTooLong \u2014 861 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 361 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":"channel/web/static/js/workspace.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95087304b128e9406ef98dd4d34d71eee104be45a971542fb87bdd65d840566e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: browser/browser_service.py: FileTooLong \u2014 854 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 354 over it, 1.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":"agent/tools/browser/browser_service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a2c253415b7b20efdc5d4e903481633250e8ef357f52e959a9551c4ef31b93"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/types.ts: FileTooLong \u2014 845 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 345 over it, 1.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":"desktop/src/renderer/src/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"513c6dd5136b52eef559af4c0f2e14168a5f38af30713e4c0b264e53dace3864"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BrowserService: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\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":"agent/tools/browser/browser_service.py"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20ac7b4896c748b837ada89cdd659313e2ee4205dbb5e794aa3ea15f498b9eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dingtalk/dingtalk_channel.py: FileTooLong \u2014 830 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 330 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":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef087c589c1e67ef266bda75c2c2ff7eef56df43fd85766d180d7ae0768c06b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: qq/qq_channel.py: FileTooLong \u2014 828 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 328 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":"channel/qq/qq_channel.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cbe8110b79ac2c17306c4eb0cfc4dce6fc273d487fced8bb27772a0fcf9f47d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChannelsPage.ChannelsPage: FunctionTooLong \u2014 ChannelsPage 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":"desktop/src/renderer/src/pages/ChannelsPage.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07d237b0f7061f50cfe51086f8d534a08f5a1657928089df712726a1d3c9240"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MemoryStorage: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 over it, 1.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":"agent/memory/storage.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"091257b502587bd435ac6c69c130c7b5a1a08f3f5888c86cc471e8cb28d7faf7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/AgentsPage.tsx: FileTooLong \u2014 810 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 310 over it, 1.62\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35933bdead0036add6e7b28e0a083ace4f3c519c40cfb71922677b566efe42d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: views/artifacts.js: FileTooLong \u2014 794 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 294 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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d890e09402c274e55752d534cc214a84b9e385ed2ba17b8ec56515c85f2d7a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: prompt/builder.py: FileTooLong \u2014 793 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"agent/prompt/builder.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97675a10214cc679a1057551c90709d68d6ab81815b50a48462e222b33d179fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/SkillsPage.tsx: FileTooLong \u2014 778 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"desktop/src/renderer/src/pages/SkillsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72a2634808c55666efdce6bce6484bc563998bb86a0e68af13bb43ddec74625"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gemini/google_gemini_bot.py: 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":"models/gemini/google_gemini_bot.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57747ca2e1d14998af12ee57c6f7a13dca840818997414ad0f545f6aa2d3860"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scheduler/integration.py: FileTooLong \u2014 776 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 276 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":"agent/tools/scheduler/integration.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9f0495d32930c148ac995ffcdeec8c0f7d7b0a5fe46a7bd987537160ead29c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/sessions.py: FileTooLong \u2014 771 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 271 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":"channel/web/api/sessions.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ffa66af9d217a7f351c7ceca6adfa7fc91f7fed28b8364b43568c19b38c94b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: views/knowledge.js: FileTooLong \u2014 765 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 265 over it, 1.53\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":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02f6503f2b822750764f4809379417fd165c54a186d7f17dc656a184a6911d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: doc-editor.createDocEditor: FunctionTooLong \u2014 createDocEditor 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":"channel/web/static/js/doc-editor.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fd21677c422f5e9a9438cb2ef4c41f5fb0de9bfeef853d5eb310aad025e916"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FileTree.FileTree: FunctionTooLong \u2014 FileTree 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":"desktop/src/renderer/src/components/FileTree.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5d426c498b8cab5e56c70b3dc211302b5612bc20f337c329982808ad3fd232"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/ChatInput.tsx: FileTooLong \u2014 738 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: ChatInput (60-990). The bar is 500 significant lines; this is 238 over it, 1.48\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":"desktop/src/renderer/src/components/ChatInput.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a82a6655677cbf4c87a253ed064f1babb2dfcd52acaec06b7681fcf04dfb29"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat/send.js: FileTooLong \u2014 734 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units), about 76% of them inside a single declaration: startSSE (211-1038). The bar is 500 significant lines; this is 234 over it, 1.47\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/send.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"260026d39342d0aba4feff3bf422ddb2a45a2099d5cc3a96337a9fdfd38616b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: claudeapi/claude_api_bot.py: FileTooLong \u2014 724 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 224 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":"models/claudeapi/claude_api_bot.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dabfab0dcb630fef382312e263aeeaedc4f65d603844064e61220b61d2fe2c3b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: models.renderCapabilityBody: FunctionTooLong \u2014 renderCapabilityBody runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a794b8f84d1e877c2f61af4677f77b7ce7f4a7ff1f695a844d363649e9ba5f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TasksPage.RunDetailModal: FunctionTooLong \u2014 RunDetailModal runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/TasksPage.tsx"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"971d961631c8de7120df4a67a8b98cbeef4c206b1da944c5af696a14ac11fba1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: memory/storage.py: FileTooLong \u2014 707 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 207 over it, 1.41\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/storage.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9d18456087f8f6d3c06b40dc8e420e796c3e7fe2c866b612a11bf71883e06d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CapabilityCard.CapabilityCard: FunctionTooLong \u2014 CapabilityCard 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":"desktop/src/renderer/src/pages/settings/CapabilityCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e53a9ef2c4e18ce18290bf8c1ca75d46f5dc88fd6cd43a692b24f4465423a28"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BasicSettings: ClassTooLong \u2014 562 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 162 over it, 1.41\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":"desktop/src/renderer/src/pages/settings/BasicSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5cbedd8f482cb8c11f78c670a72932e906e8da13393b4b0f675a9f3c703825"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: vision/vision.py: 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":"agent/tools/vision/vision.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de5fb4929925754b2a75b3b51bf2f97f6863b51d409a52b10caceaf1659ac1a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WecomBotChannel: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/wecom_bot/wecom_bot_channel.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5372b184cb969e2466707078e5dda1afae695a0eb7411c10042ccbb6ede8ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: modelscope/modelscope_bot.py: FileTooLong \u2014 692 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 192 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":"models/modelscope/modelscope_bot.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6507101baf2ddbcb17af9d89b0a148f1f346406acbc6931c0f3bea0fe27b09"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/chatStore.ts: FileTooLong \u2014 691 significant lines (blank, comment-only and punctuation-only lines excluded), about 73% of them inside a single declaration: useChatStore (322-1087). The bar is 500 significant lines; this is 191 over it, 1.38\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":"desktop/src/renderer/src/store/chatStore.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb68bb010fbd733ddcfd441fc55eababfe8ea0fe978fe546e21e82b21a0e2ceb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WeixinChannel: TooManyMethods \u2014 41 methods. The bar is 30 methods; 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":"channel/weixin/weixin_channel.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce445923671192339b07048732c80a482bb06a212dbc62b4eef4a23b1589248e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: linkai/link_ai_bot.py: FileTooLong \u2014 677 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 177 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":"models/linkai/link_ai_bot.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e15658961bc9e801a661773d636689356638b474c302e377628e8e76a371a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat/state.js: FileTooLong \u2014 672 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 172 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":"channel/web/static/js/chat/state.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9c5f54831a940a7e9733d9f4491c8ad019c255b5a1cb172db4c227b12ef872"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ./config.py: FileTooLong \u2014 660 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"config.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c264e242ed361e210d89704255bc39d089365951f7a2c582753152e938070bcd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ArtifactPreview.ArtifactPreview: FunctionTooLong \u2014 ArtifactPreview 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":"desktop/src/renderer/src/pages/artifacts/ArtifactPreview.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e70ebe577d153b561dee6d8a7ce92af269653e41a8c7e3cd88b1728be5a06d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat/render.js: FileTooLong \u2014 654 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 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":"channel/web/static/js/chat/render.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f62204c0f661c3b3a300e3ada49c1c1aadc4aa0e9eb06667eb89f6df3188b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: guest/runtime.py: FileTooLong \u2014 646 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 146 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":"agent/guest/runtime.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0fedb55216a3e95c7a9207cda45b4505c74307354ee5ad9d0b64b9d0181102"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: knowledge.renderKnowledgeGraph: FunctionTooLong \u2014 renderKnowledgeGraph 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":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"6163ee20b7519925a55b986c148c22baae2c66a8e85ad17f620a9de5812a848b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/ChannelsPage.tsx: FileTooLong \u2014 634 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 134 over it, 1.27\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/ChannelsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f381ba8057dc471046bdb186d17698de8ac336fbadbd5fec8c9b1649ed9977b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: permission/policy.py: 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":"agent/permission/policy.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8140889a1b7b5c3eb06447edc443b4c61d6e96d9184281f7073c3e3dc8972b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: memory/summarizer.py: 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":"agent/memory/summarizer.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a360358745c6a360376e97d6f35a7cd19d3eb50d3cdf7d40c8069eb67d7b835f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/MenuEditor.tsx: FileTooLong \u2014 615 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: EditorDialog (130-692). 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":"desktop/src/renderer/src/components/MenuEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9620b6d2bea82cfb00fdfa49f9e118bd397e099065bcef4575ccaf035fdff9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: docEditorStore.createDocEditorStore: FunctionTooLong \u2014 createDocEditorStore 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":"desktop/src/renderer/src/store/docEditorStore.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"0170257b07b1a3841f1ec0a50778a848b145dc29e0d8ecee87b47a97646b4c4f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: knowledge/service.py: FileTooLong \u2014 605 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 105 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":"agent/knowledge/service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6c0d8893d321321a8cac5d7bd8e6a8a52db0e864e488cf6663f375a0c66d07"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: search_files/search_files.py: FileTooLong \u2014 605 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 105 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":"agent/tools/search_files/search_files.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b8b178c2afba8c4172ddc7e9338d8b4a86dca4d9151f4a525babed4deab506"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: channel/chat_channel.py: FileTooLong \u2014 604 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 104 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":"channel/chat_channel.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57621a59c486cbbed2cae14a908a6d3785012d228c8486b8d563f3349bcc0a93"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: QQChannel: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/qq/qq_channel.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"6686439ff2ddeeb63aded035090b4fc8c510e45f8d7d82e5c9bd94179777e32c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/openai_compat.py: FileTooLong \u2014 599 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 99 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":"channel/web/api/openai_compat.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8306178e7a1d2bc0faa3482a04bb7801de87d511d6ffbaeb6f64c878c24b7a58"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: views/config.js: FileTooLong \u2014 599 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 99 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":"channel/web/static/js/views/config.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3b4492f702b347370332959c1572227639ed0d9e9d4c2b07852a289111b2bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/BasicSettings.tsx: FileTooLong \u2014 596 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: BasicSettings (49-766). The bar is 500 significant lines; this is 96 over it, 1.19\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":"desktop/src/renderer/src/pages/settings/BasicSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db17b085e3d09ebefd5a575f59d4c5d28c754477157dd360f5ad9c4d65c9329b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/admin.py: FileTooLong \u2014 595 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"agent/admin.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bff140a5094cedd29a601381d0e8ee1107d71825be83b48373e32a4344e5f4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PythonBackend: ClassTooLong \u2014 473 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 400 significant lines; this is 73 over it, 1.18\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/python-manager.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d6da185b47a6709a97dbed69f27316832da8a4f0a34eb0bb8ddfc9c73030a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentSelector.AgentSelector: FunctionTooLong \u2014 AgentSelector 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":"desktop/src/renderer/src/components/AgentSelector.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c733f8095e469d1da2c4b968658970fb1f1d3fcc6a48d4574670471073f434"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat/service.py: FileTooLong \u2014 586 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"agent/chat/service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b14369b430f15521ab99838245e449173d8ebebd23c024a63c450f67f88a727"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: views/sessions.js: FileTooLong \u2014 585 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 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":"channel/web/static/js/views/sessions.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcca22e66d03e35f56c0c16497ec8eec6a2670b40bc49e84ef0a8c28b4b4985"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useBackend.useBackend: FunctionTooLong \u2014 useBackend 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":"desktop/src/renderer/src/hooks/useBackend.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1fdb2a1e2e39c09e0675da6f1048b051ce535c43aa73deda6ac268cf85edf0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: docEditorStore.createDocEditorStore.store: FunctionTooLong \u2014 createDocEditorStore.store 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":"desktop/src/renderer/src/store/docEditorStore.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff65eaec2ee36426bf803af477c3db2024deae0b8104d07221ded214290d382"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: telegram/telegram_channel.py: FileTooLong \u2014 567 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"channel/telegram/telegram_channel.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2bbaaf51ae2471b826526fab130ac5e98d53b8b2e1402a971f3dfd8967ecca"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PythonBackend: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\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":"desktop/src/main/python-manager.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c973bc71e711c3af05bf649a8b9f594cfb234b80474e402424d87d687d7e6e3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: protocol/agent.py: 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":"agent/protocol/agent.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6184bba44043c45d2b7313d78473bcbb5c951553d50f983e1fc6583bc00244ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatApiCard.ChatApiCard: FunctionTooLong \u2014 ChatApiCard 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":"desktop/src/renderer/src/pages/settings/ChatApiCard.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"488df141861e3628f2375e3cdf8c555372fcf5e2441ae53fb7e5dd7c605d21e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/guest.py: 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":"channel/web/api/guest.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"395197dd5190ebfb2d2bcc83fef467bc7bf3bcb8f72c49d23cce82cb8e13c677"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WebChannel: TooManyMethods \u2014 33 methods. The bar is 30 methods; 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":"channel/web/core/channel.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8aa2135140be137043a17bf567545b464ceb3fb8c1eff0a3ea14ace8072875"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: layout/SessionList.tsx: FileTooLong \u2014 546 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 46 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":"desktop/src/renderer/src/layout/SessionList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b7c702af1c7ba6653a871d9ff3e6e8df0537de30b36a0c3f9d099d7ec70aba"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: skills/SkillAddModal.tsx: FileTooLong \u2014 544 significant lines (blank, comment-only and punctuation-only lines excluded), about 64% of them inside a single declaration: SkillAddModal (144-560). The bar is 500 significant lines; this is 44 over it, 1.09\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":"desktop/src/renderer/src/pages/skills/SkillAddModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df7e76d84f6758f27446ba5b35e4a4025dfa36257694ae90064c688ee24281e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/_common.py: FileTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 33 over it, 1.07\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":"channel/web/core/_common.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb410cd0ba262f3bb7c2e42a389c4a75279557ed00b9db38e191dfb6c0ab709"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: memory/manager.py: FileTooLong \u2014 531 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 31 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":"agent/memory/manager.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"632071185b1b708db08d8f881fe232327aa9a69efbe2b6a4211d0870155e8598"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: main/index.ts: FileTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 28 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":"desktop/src/main/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d464bbb9f1c1094da77b62bb6a5ba5a200ca0ac89151da0bb06edcb98a002a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ./app.py: 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":"app.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfca45367f3ffd515db07e4716ccf8f9d817a3396b8670e027600b6de309ac0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: new-chat.newChat: FunctionTooLong \u2014 newChat 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":"channel/web/static/js/chat/new-chat.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d59a19ddd55df84db23ea3626cfde06d7e4fdce057d7cc5605483ff3efb91e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LogsPage.LogsPage: FunctionTooLong \u2014 LogsPage 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":"desktop/src/renderer/src/pages/LogsPage.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17606174a2dd0b2384f963da9f88e0b90a4b5b62d64b6f8550f5e9121da2037"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatFallbackCard.ChatFallbackModal: FunctionTooLong \u2014 ChatFallbackModal 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":"desktop/src/renderer/src/pages/settings/ChatFallbackCard.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"643493d4a7facae9f8263ded45ee4e8a487b353f1bd8ab115d751796edebd173"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mimo/mimo_bot.py: FileTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 19 over it, 1.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":"models/mimo/mimo_bot.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd1c27ce4c7cd7b8c1de66042c9343e430b114b27e9cdfe39ba9633f4741801"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: minimax/minimax_bot.py: FileTooLong \u2014 516 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 16 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/minimax/minimax_bot.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da5ae07a19a75a1e9631105bc8e7e43740658385b4f6afde78bf780cd53c8e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: deepseek/deepseek_bot.py: FileTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 15 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c141f100e115fe8a44cb275fb6a88545be32b4f2f28ec2f6432eaede2622f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tasks.loadTasksView: FunctionTooLong \u2014 loadTasksView runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/tasks.js"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a2be529b68f89976c15df9ce9d2147c4a99ae7cd7bb953149e5a7de55a14a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentsPage.AgentProfilePane: FunctionTooLong \u2014 AgentProfilePane runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae69bc12757173642ff30da7f97fd6850de4fac3ccfb36b116ef41644562ed1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/tool_manager.py: FileTooLong \u2014 512 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"agent/tools/tool_manager.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9642ae680481f261efdd9452e8ae0b4e5e5d1f4d8485220d180f558c4ffe762"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: web_fetch/web_fetch.py: FileTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3 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":"agent/tools/web_fetch/web_fetch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacb2d9a9dfe773d29d2e0b35f7d339cb2c80d0d281ff7b04e7569ca62d5dc5c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChatPage: ClassTooLong \u2014 402 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 2 over it, 1.01\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":"desktop/src/renderer/src/pages/ChatPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b0b76c268f6fc72cb231055f12d658545109d8340d8883a76fc31e8b4d4321"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: main/python-manager.ts: FileTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: PythonBackend (80-1028). The bar is 500 significant lines; this is 2 over it, 1.00\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":"desktop/src/main/python-manager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa2c9775af1103d5c994c46b882c009c8fcdbef7fef5eb953f22f219adce0d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (11 members, 26 shared lines): models/chatgpt/chat_gpt_session.py:22-50 | models/dashscope/dashscope_session.py:12-41 | models/deepseek/deepseek_session.py:12-41 | models/doubao/doubao_session.py:13-42 | models/mimo/mimo_session.py:12-41 | models/minimax/minimax_session.py:22-50 | models/modelscope/modelscope_session.py:12-41 | models/moonshot/moonshot_session.py:12-41 | models/openai/open_ai_session.py:32-60 | models/qianfan/qianfan_session.py:12-41 | models/zhipuai/zhipu_ai_session.py:14-43 \u2014 These 11 members are variants of one another: a block of 26 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 11 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 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/chatgpt/chat_gpt_session.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3cddf8142e5a82681611e02dae98b3cfa2347cace20d0f512faf22ac359422"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (8 members, 26 shared lines): models/dashscope/dashscope_bot.py:83-123 | models/deepseek/deepseek_bot.py:135-177 | models/doubao/doubao_bot.py:48-93 | models/mimo/mimo_bot.py:129-171 | models/minimax/minimax_bot.py:61-107 | models/moonshot/moonshot_bot.py:88-133 | models/qianfan/qianfan_bot.py:90-133 | models/zhipuai/zhipuai_bot.py:54-109 \u2014 These 8 members are variants of one another: a block of 26 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":"models/dashscope/dashscope_bot.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"21eec9610e910d6f59a436662e2e8ac893df3797a11f7fcbba088dfcf2a56560"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (8 members, 18 shared lines): models/chatgpt/chat_gpt_bot.py:135-198 | models/dashscope/dashscope_bot.py:83-123 | models/deepseek/deepseek_bot.py:135-177 | models/doubao/doubao_bot.py:48-93 | models/mimo/mimo_bot.py:129-171 | models/moonshot/moonshot_bot.py:88-133 | models/qianfan/qianfan_bot.py:90-133 | models/zhipuai/zhipuai_bot.py:54-109 \u2014 These 8 members are variants of one another: a block of 18 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":"models/chatgpt/chat_gpt_bot.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f0f415b06250e98f8ad669df99cb80aa75cfa943b1c0178c8f8466bfe6babe"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (7 members, 24 shared lines): models/deepseek/deepseek_bot.py:135-177 | models/doubao/doubao_bot.py:48-93 | models/mimo/mimo_bot.py:129-171 | models/minimax/minimax_bot.py:61-107 | models/modelscope/modelscope_bot.py:48-113 | models/moonshot/moonshot_bot.py:88-133 | models/zhipuai/zhipuai_bot.py:54-109 \u2014 These 7 members are variants of one another: a block of 24 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 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"58526877a6b28f9ddf26c67222eb9a23da32a0fdbddfadf49fb7723bf27aba71"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 15 shared lines): models/chatgpt/chat_gpt_bot.py:135-198 | models/dashscope/dashscope_bot.py:83-123 | models/doubao/doubao_bot.py:48-93 | models/modelscope/modelscope_bot.py:48-113 | models/moonshot/moonshot_bot.py:88-133 | models/zhipuai/zhipuai_bot.py:54-109 \u2014 These 6 members are variants of one another: a block of 15 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 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/chatgpt/chat_gpt_bot.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"27867316bfbeee3db05e3742a26a996f082ee79893e1ada56be2b207279a0155"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 70 shared lines): models/deepseek/deepseek_bot.py:332-472 | models/doubao/doubao_bot.py:286-439 | models/mimo/mimo_bot.py:324-463 | models/minimax/minimax_bot.py:570-779 | models/moonshot/moonshot_bot.py:335-491 \u2014 These 5 members are variants of one another: a block of 70 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 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"828367ae50704f43bca5f2c731fd2945b39d869ca01e9fabf50c669b0dee40f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 35 shared lines): models/deepseek/deepseek_bot.py:477-539 | models/doubao/doubao_bot.py:444-501 | models/mimo/mimo_bot.py:468-529 | models/minimax/minimax_bot.py:489-567 | models/moonshot/moonshot_bot.py:496-558 \u2014 These 5 members are variants of one another: a block of 35 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 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1bce5479f160904a8f306e88095cdedaadaeb4a87c063386eb0183be40b57a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 55 shared lines): models/deepseek/deepseek_bot.py:544-677 | models/mimo/mimo_bot.py:534-654 | models/moonshot/moonshot_bot.py:563-663 \u2014 These 3 members are variants of one another: a block of 55 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/deepseek/deepseek_bot.py"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bead6a52bd79fe296a74cd542638e771ab16c47919f45bd80e664df91b52fbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (207 shared lines): channel/feishu/feishu_channel.py:1162-1501 | channel/feishu/feishu_channel.py:1504-1924 \u2014 These two members are variants of one another: 207 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":"channel/feishu/feishu_channel.py"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3bb4a923e29383e9cfcd6a8b48440483be0e6af24f770bcacacdda9a1f2a0cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (52 shared lines): agent/tools/scheduler/integration.py:828-953 | agent/tools/scheduler/integration.py:1125-1227 \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":"agent/tools/scheduler/integration.py"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"6486238cc0aef07bf1a638caaf9ff988258f60af086800f1140e2a67eeb9dcd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (44 shared lines): agent/tools/scheduler/integration.py:1046-1119 | agent/tools/scheduler/integration.py:1125-1227 \u2014 These two members are variants of one another: 44 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":"agent/tools/scheduler/integration.py"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1a1c68a08ec80e8be1ce1cf8e9784ee6571aa1658472f191fc4d2abfcad3da"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (40 shared lines): agent/tools/scheduler/integration.py:959-1040 | agent/tools/scheduler/integration.py:1125-1227 \u2014 These two members are variants of one another: 40 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":"agent/tools/scheduler/integration.py"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54abcfc4a07faf7b9d45147a7d854ac4964dbf9e6df81a78aa8804ee5d9f9f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (37 shared lines): channel/discord/discord_channel.py:177-281 | channel/slack/slack_channel.py:203-299 \u2014 These two members are variants of one another: 37 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":"channel/discord/discord_channel.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf188045566b37f614215f7a268db9731b87f1c2843c5a39864b1539d53103d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (37 shared lines): agent/tools/scheduler/integration.py:959-1040 | agent/tools/scheduler/integration.py:1046-1119 \u2014 These two members are variants of one another: 37 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":"agent/tools/scheduler/integration.py"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"c103cc80015a251ee0bd774cb387db3a559a117b1def31c423b5bd2dd37a836e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): channel/web/api/channels.py:218-297 | channel/web/api/channels.py:300-371 \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":"channel/web/api/channels.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d117044873c4f4cebbe6e808bba74294bf22ff841417333749674f31b6328cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): models/claudeapi/claude_api_bot.py:219-329 | models/claudeapi/claude_api_bot.py:703-776 \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":"models/claudeapi/claude_api_bot.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"989a01b5768408be1e7b7f34fe126a3251a8220ba15012fabe12df6788a2b969"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): channel/discord/discord_channel.py:402-436 | channel/feishu/feishu_channel.py:2315-2367 | channel/qq/qq_channel.py:601-628 | channel/slack/slack_channel.py:408-442 | channel/telegram/telegram_channel.py:540-574 | channel/wecom_bot/wecom_bot_channel.py:815-846 | channel/weixin/weixin_channel.py:957-986 \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":"channel/discord/discord_channel.py"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a9407dac221c35637b0306035c3834792ebf5dd5bc254ccb15b8f6e3519e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): channel/dingtalk/dingtalk_channel.py:692-761 | channel/dingtalk/dingtalk_channel.py:768-842 | channel/feishu/feishu_channel.py:770-966 | channel/qq/qq_channel.py:504-576 | channel/wecom_bot/wecom_bot_channel.py:640-706 | channel/weixin/weixin_channel.py:856-952 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be230b258d6f5acaeaa56b0941650ce2b9a77675889edf760e57f82006322fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): models/deepseek/deepseek_bot.py:233-327 | models/doubao/doubao_bot.py:204-281 | models/mimo/mimo_bot.py:233-319 | models/minimax/minimax_bot.py:249-331 | models/moonshot/moonshot_bot.py:243-330 \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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbcfe6887a5a5f7203ea564f50c794ee7027d11d59180ab14c1f1f84d3aa3fbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): models/deepseek/deepseek_bot.py:709-746 | models/doubao/doubao_bot.py:161-199 | models/mimo/mimo_bot.py:681-726 | models/minimax/minimax_bot.py:203-246 | models/moonshot/moonshot_bot.py:203-238 \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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"338aa42265877b4b48a413beb244e367af9193c8b9f0408cd5ee38a8089dff65"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): channel/web/api/knowledge.py:42-62 | channel/web/api/skills.py:585-598 | channel/web/api/skills.py:618-633 | channel/web/api/workspace.py:349-378 \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":"channel/web/api/knowledge.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db2adebdd1f8303305b2ef4348b730c00b132964f2c7e1ff4b44c6b72cabbe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): channel/web/api/models.py:2416-2469 | channel/web/api/models.py:2472-2492 | channel/web/api/models.py:2581-2610 | channel/web/api/models.py:2735-2766 \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":"channel/web/api/models.py"},"region":{"startLine":2416}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f63c0ce2dae59551112727d74f8cbdbcbba22a13f0e990d39a83e9c2bf78e48"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): models/dashscope/dashscope_bot.py:238-354 | models/linkai/link_ai_bot.py:632-753 | models/openai_compatible_bot.py:71-197 | models/zhipuai/zhipuai_bot.py:207-309 \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":"models/dashscope/dashscope_bot.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bb60016069e11f4581d16cf778eecaa64c1c7a788e39c5c5a8265d4c18cc87"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): plugins/banwords/lib/WordsSearch.py:166-184 | plugins/banwords/lib/WordsSearch.py:187-208 | plugins/banwords/lib/WordsSearch.py:212-227 | plugins/banwords/lib/WordsSearch.py:230-250 \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":"plugins/banwords/lib/WordsSearch.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f14a55059d56b43a91aaa1a2239d1cf684dd86341afe9070dccb79f9e508d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): skills/image-generation/scripts/generate.py:738-801 | skills/image-generation/scripts/generate.py:873-933 \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":"skills/image-generation/scripts/generate.py"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4710fc6262d8f66414ec3b90951c8cbd37a2e70c478f37134031dd8b810d649"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (92 corresponding lines): models/doubao/doubao_bot.py:506-597 | models/minimax/minimax_bot.py:334-451 \u2014 These two members are one piece of code written twice and then edited apart: 92 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/doubao/doubao_bot.py"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23d7b461a3491923b6e178b2f56d6dd6f69fe475e84937eb4dd19842a1fbe1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): bridge/agent_bridge.py:2000-2067 | bridge/agent_initializer.py:1216-1276 \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":"bridge/agent_bridge.py"},"region":{"startLine":2000}}}],"partialFingerprints":{"codehealthFindingId/v1":"5944434255b1f69fbadf98678e46d51a161a00bc5e9f1736c98bb8e4e25f7d57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): channel/wechatcom/wechatcomapp_message.py:12-57 | channel/wechatmp/wechatmp_message.py:15-64 \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":"channel/wechatcom/wechatcomapp_message.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0650a741f96efb7b602ddeaa9ee17196507faf7b86d079a0a67454a52984334c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): cli/commands/skill.py:528-571 | cli/commands/skill.py:1652-1693 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/skill.py"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6b25e8db1be68bf2d6f012efae5986eb1d0fe5cf233cbfb581bfac655b3837"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): channel/web/api/skills.py:636-666 | channel/web/api/workspace.py:269-305 \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":"channel/web/api/skills.py"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2bb40009a222045ef37a0e3042003bc69a3b11903339547c6f3e5acbaf47997"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (77 corresponding lines): models/dashscope/dashscope_bot.py:644-733 | models/zhipuai/zhipuai_bot.py:498-574 \u2014 These two members are one piece of code written twice and then edited apart: 77 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/dashscope/dashscope_bot.py"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"7063a34bfa50aba63d7ad25b4dcfccbd6b02dda125d5e8cc824e383425100e47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): models/claudeapi/claude_api_bot.py:179-216 | models/openai/open_ai_bot.py:71-107 \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":"models/claudeapi/claude_api_bot.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"d389091deb7645e4c88a3f5dadcdfa21f85283fab5f2fad37bb41524d4f0f54f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): agent/tools/web_search/web_search.py:425-469 | agent/tools/web_search/web_search.py:608-663 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/web_search/web_search.py"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba27b83233d27a64b5e393552d579a72491ded21db588ae7b8dda70aa74b809"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 49\u002B corresponding lines): models/deepseek/deepseek_bot.py:180-228 | models/doubao/doubao_bot.py:96-156 | models/mimo/mimo_bot.py:174-228 | models/moonshot/moonshot_bot.py:136-198 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 49 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea0765c5f6880312a2650b20deed179ae26eb62b87ebbbc4e9791dd292649af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (68 corresponding lines): bridge/agent_bridge.py:434-501 | bridge/agent_bridge.py:504-574 \u2014 These two members are one piece of code written twice and then edited apart: 68 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_bridge.py"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15a4e1803b56251e870ab18b3758ad83834e079e351aa227e14e24158999a82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): channel/qq/qq_channel.py:635-665 | channel/wecom_bot/wecom_bot_channel.py:1093-1124 \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":"channel/qq/qq_channel.py"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b7e19b25bb4f91eed223b335caa33a4d4df0f74661d16c0080e3d698b493f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): app.py:710-746 | app.py:750-792 \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":"app.py"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7f5e8899f1c12e59da3512d6484e198dfb6736a8f886abbc5090e924f17967"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): channel/qq/qq_channel.py:791-832 | channel/qq/qq_channel.py:836-880 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/qq/qq_channel.py"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"f231a34a104d3b095926ad16cdd1e1d4c6eccb0607b667aecd53955bc2d69750"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): agent/memory/storage.py:960-1009 | agent/memory/storage.py:1260-1309 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/storage.py"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"025172c87570e908cbd2f73c73095257fed01f9f04be304f4e312d11444beb8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): channel/web/api/models.py:1203-1258 | channel/web/api/models.py:1423-1486 \u2014 These two members are one piece of code written twice and then edited apart: 56 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/models.py"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"f757f4d7507b0f63b2a1f40625e89a42b0dc7e67e3fbc1d4af7c00df5af385b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): agent/chat/service.py:753-780 | bridge/agent_bridge.py:1004-1025 \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":"agent/chat/service.py"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"113451c0fb2a5910d70dc521e04ad22e1f2ed726e838a1e773c9943e5c79cfc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): channel/discord/discord_channel.py:71-111 | channel/telegram/telegram_channel.py:87-132 \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":"channel/discord/discord_channel.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7482b8ef4567a7bd4b9a356f48d8e54f7e9d28e0ff2e09b79bf46ace827e22f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): common/cloud_client.py:943-970 | common/cloud_client.py:973-1009 \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":"common/cloud_client.py"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"075067e712398002f718031239e0db6365f395e4b62b8f0eb3e2e78555a59ba4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 32\u002B corresponding lines): agent/tools/web_search/web_search.py:1082-1127 | agent/tools/web_search/web_search.py:1134-1165 | agent/tools/web_search/web_search.py:1172-1207 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 32 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/web_search/web_search.py"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ea8b4f50578995f415b0976ee9b1cbe837a8e5505f95a5fb6baa8e9a86440a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): channel/web/api/sessions.py:475-503 | channel/web/api/sessions.py:823-846 \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":"channel/web/api/sessions.py"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d12d16c526bd4f6e2621b64d6b3caf26844e63823ca185cea73efe83933bd6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): models/chatgpt/chat_gpt_bot.py:352-383 | models/openai/open_ai_bot.py:133-158 \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":"models/chatgpt/chat_gpt_bot.py"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19a033024e86f60f82bfe342fd08e3c4af7f49e8de776c0ad3f513d120678f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): channel/dingtalk/dingtalk_channel.py:516-572 | channel/dingtalk/dingtalk_channel.py:1147-1198 \u2014 These two members are one piece of code written twice and then edited apart: 52 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"b261677fa943e1945fcd4d01f121e560f51402f34f317a54339ffa407044de1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): channel/qq/qq_channel.py:1100-1124 | channel/qq/qq_channel.py:1128-1152 | channel/qq/qq_channel.py:1156-1177 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/qq/qq_channel.py"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee05a3e22a553fe552b5d860d12a57b4aa37a6183be6e0aabd55b7e1af3e117"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): channel/web/api/workspace.py:72-84 | channel/web/api/workspace.py:89-103 \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":"channel/web/api/workspace.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f3a6a72e2326b8bbf6ac264fdd200cc09d6849f02a3ef77485801b76fcace4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): models/openai_compatible_bot.py:273-287 | models/openai_compatible_bot.py:290-305 \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":"models/openai_compatible_bot.py"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"14cc15af4c574946150dd0a39601d2843419bea154d02e91cf699db9b40c44ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): channel/web/api/files.py:185-203 | channel/web/api/files.py:208-238 \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":"channel/web/api/files.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca5d29e9dfc3a1c7d6ee4fd1202c7a592353fa8911da5277004dc7283e88a8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 39\u002B corresponding lines): channel/dingtalk/dingtalk_channel.py:345-383 | channel/dingtalk/dingtalk_channel.py:386-429 | channel/dingtalk/dingtalk_channel.py:575-637 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c8f53d226fa0cf0feace26693f8cee97f1feb524dae99a9b131a36b0e7735e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): channel/web/api/artifacts.py:187-204 | channel/web/api/artifacts.py:215-230 | channel/web/api/artifacts.py:237-250 \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":"channel/web/api/artifacts.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed860db2cec9da23ff81b6bf7f97535ec0a7d0b9a05b6edc7a58ba3778aea86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): models/xunfei/xunfei_spark_bot.py:135-162 | voice/xunfei/xunfei_asr.py:60-89 | voice/xunfei/xunfei_tts.py:63-92 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 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":"models/xunfei/xunfei_spark_bot.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91a48f03bd05ca7febe994bfe2fa915c1abdea538c3060f89146595565ea603"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): agent/memory/service.py:70-87 | agent/memory/service.py:90-104 \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":"agent/memory/service.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c0cc9d1e595536bd245c8f389e85dd70404edaabe1dfeb9c9648ce874ed41e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): models/openai_compatible_bot.py:318-348 | models/openai_compatible_bot.py:351-388 \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":"models/openai_compatible_bot.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2ba95083eed01a828d999a532faf9ee341d5b4c98493eba1aef1c7c786a4df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): channel/web/api/scheduler.py:162-181 | channel/web/api/scheduler.py:192-211 | channel/web/api/scheduler.py:245-268 | channel/web/api/scheduler.py:441-456 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/scheduler.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1e17c2738d8eb6c5f7ff6dede2d49ac7eb35e4f399d52a3587ad2e3027b1fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): channel/discord/discord_channel.py:284-300 | channel/slack/slack_channel.py:302-319 | channel/telegram/telegram_channel.py:269-290 \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":"channel/discord/discord_channel.py"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8071d6098c3321cf4b126197903c07a140eb419b44c28abd6f73193ea00fa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): channel/web/api/workspace.py:419-431 | channel/web/api/workspace.py:443-455 | channel/web/api/workspace.py:458-471 \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":"channel/web/api/workspace.py"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"d036a156242cd01ee1282e9cdf1b798b7ad42fab654459c668ae13e53d4053aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): agent/memory/storage.py:709-760 | agent/memory/storage.py:763-812 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/storage.py"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5ee6412b5efbabfb5e8af0e97c4a9178d835d57b5a68bcb85e3f9ecf96ab31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): agent/tools/bash/background.py:246-265 | agent/tools/bash/bash.py:538-555 \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":"agent/tools/bash/background.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29c89e98cfccf4757c9fb840a13d9b5359a30abab0e88f59e5e45d6a7705bb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): agent/team_addressing.py:22-61 | channel/web/core/_common.py:797-826 \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":"agent/team_addressing.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6eac3078d401d58a67ba718284d9dd3c419f6509e21f008bb0a64c8c9a76996"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): agent/tools/web_search/web_search.py:719-733 | agent/tools/web_search/web_search.py:1063-1075 \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":"agent/tools/web_search/web_search.py"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"287be9007ef43e4bac573b4e00a3adc8605f2b543cd47f340405d3f8e5aa07a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): channel/web/api/models.py:1266-1288 | channel/web/api/models.py:1292-1322 \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":"channel/web/api/models.py"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa7c3d2efd785d2286b45e119211ec454b5ef49bc8eeee50e841ec40a0de78a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): common/cloud_client.py:1211-1230 | common/cloud_client.py:1259-1278 | common/cloud_client.py:1308-1327 | common/cloud_client.py:1358-1380 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/cloud_client.py"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"57bd0b7c1de92f4dfa8ff7c91baeff0d95a734e155022ef31b3c1190aeb4a5dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): agent/tools/browser/browser_tool.py:353-362 | agent/tools/browser/browser_tool.py:365-374 \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":"agent/tools/browser/browser_tool.py"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd2b1d9af15b6ff74274bf819ee26776f1ef0a493932610bdfaf853749dc1cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): agent/tools/search_files/search_files.py:474-484 | agent/tools/utils/credentials.py:32-57 \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":"agent/tools/search_files/search_files.py"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c19111f610637ab9f54be4eaf5986b71fda7a10b38c9f3d792c2db0030f3979"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): channel/web/api/sessions.py:734-746 | channel/web/api/workspace.py:168-176 | channel/web/api/workspace.py:334-342 \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":"channel/web/api/sessions.py"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b73dfedc4fef47b2ce6666497a56932f05a8da6092b018bbfb482c3e858dee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): agent/skills/archive.py:62-83 | agent/skills/archive.py:89-105 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/skills/archive.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"708a85176b08c41e4e2c8fc83a01c7695cf8c3ed3e17d6236513a2d1639bdd5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): channel/discord/discord_channel.py:476-489 | channel/telegram/telegram_channel.py:610-629 \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":"channel/discord/discord_channel.py"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"1526bd47e7d8a936dbfa017bc3ac69e17ca40c6dade14a2e049ede4e4eae35e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): voice/ali/ali_voice.py:50-77 | voice/ali/ali_voice.py:80-100 \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":"voice/ali/ali_voice.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdbe15618dbd7d23b0798eebb6e1b502c6f3540a37b686a0b866e26d24810ac9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): agent/memory/summarizer.py:440-458 | agent/memory/summarizer.py:692-706 \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":"agent/memory/summarizer.py"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f2544a6ae08cb73b333edba6d6c94b610093fd3a677b695e8098a428e8faf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): channel/chat_channel.py:789-801 | channel/chat_channel.py:804-812 \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":"channel/chat_channel.py"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"11006002d41b5074141cec337a3267d0b72c1c25a03ca7212890c0680adbc0fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): agent/memory/summarizer.py:227-242 | agent/memory/summarizer.py:951-978 \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":"agent/memory/summarizer.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"4102059d766b409fa7de61545edd151fb2c5a5a99e8fb01c1a3792212c732baf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): voice/audio_convert.py:76-94 | voice/audio_convert.py:119-132 \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":"voice/audio_convert.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a382f011038bd1029dc369887d6f6696c5d05421f1980d72ae99d203ad3aa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): voice/edge/edge_voice.py:46-57 | voice/elevent/elevent_voice.py:25-41 \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":"voice/edge/edge_voice.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a6a932ee87977673c6ab2b448adfb3a04341b75687bd7af8885d1214cf05eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): agent/tools/mcp/mcp_oauth.py:344-359 | agent/tools/mcp/mcp_oauth.py:433-453 \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":"agent/tools/mcp/mcp_oauth.py"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"72daa9030eba97558a94aa7acf1686c12318d62540464ba0a9dd81041a104466"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): agent/memory/conversation_store.py:258-271 | agent/protocol/message_utils.py:283-293 \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":"agent/memory/conversation_store.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"042a89a32f4007bd13f77cc7bfbd294f809d099257905cd0dd0487273899d760"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): common/cloud_client.py:1233-1253 | common/cloud_client.py:1330-1352 | common/cloud_client.py:1383-1404 \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":"common/cloud_client.py"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9fc7a69de9d42e51617263877a05f006f99f4e5ed4fdc031c7a633df72ee4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): agent/tools/browser/browser_service.py:1302-1315 | agent/tools/browser/browser_service.py:1321-1334 \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":"agent/tools/browser/browser_service.py"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a765e05e0eb1732a8b554793a43d08322cc2c39f81a633f6445024dd23abe4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): common/cloud_client.py:1142-1159 | common/cloud_client.py:1162-1172 \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":"common/cloud_client.py"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c563d865ec27c2ec7592754dab10e3a28b95f07b4633fbb9d934de2f5a9217b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): agent/chat/service.py:590-606 | bridge/agent_bridge.py:896-916 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/chat/service.py"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"66133c68a106509217925e78bc3c078b51d51a9d20d87212c0918b0c484db5b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): channel/chat_channel.py:491-500 | plugins/linkai/midjourney.py:433-442 \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":"channel/chat_channel.py"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5bde9fb046f9a04ffd74d08309daebb8d2f2835559d949b14520883eff7137"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): plugins/plugin_manager.py:337-349 | plugins/plugin_manager.py:352-361 \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":"plugins/plugin_manager.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7b9f884b63e84db9f57e36e5ceb02d93f64261af69f9d5496a1c507bdf5ff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): agent/guest/store.py:595-603 | agent/guest/store.py:607-615 \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":"agent/guest/store.py"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f89d59804d0f9c14949cfa50ce1096edcff531052560900d7273c4d97c64e4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): agent/memory/storage.py:1204-1215 | agent/memory/vector_backend.py:248-255 \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":"agent/memory/storage.py"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a2db31bf6940acfe3060572f475f8d7a795d63e080914c032e78ea4b5b0d4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): plugins/hello/hello.py:120-128 | plugins/linkai/linkai.py:286-297 \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":"plugins/hello/hello.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7c046c9db5cd40e2ccd1c78b25aafaf8534077307db2599e51bfa6be320b62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): channel/discord/discord_channel.py:50-64 | channel/slack/slack_channel.py:51-65 | channel/telegram/telegram_channel.py:66-80 \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":"channel/discord/discord_channel.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7880c49759e24841e0f7282effbe64336706dd19b2dfc6077e4e211dfd47e405"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): agent/tools/scheduler/scheduler_tool.py:411-421 | agent/tools/scheduler/scheduler_tool.py:424-434 | agent/tools/scheduler/scheduler_tool.py:437-447 \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":"agent/tools/scheduler/scheduler_tool.py"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86258ccd520b9160d1687649357e10963ee2bd7f7f10b754edebe1abda37759"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): channel/weixin/weixin_channel.py:528-539 | channel/weixin/weixin_channel.py:546-557 \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":"channel/weixin/weixin_channel.py"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2f870ad558d5cbbdfc8a9365fb88c2edd02ba6dae7516500cd745a6c8587c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): models/linkai/link_ai_bot.py:538-548 | models/session_manager.py:65-73 | models/session_manager.py:76-84 \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":"models/linkai/link_ai_bot.py"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b947330a8093fa2384e370ef38adc894567f5523ab2159b42cef8263d27e3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): plugins/cow_cli/cow_cli.py:957-969 | plugins/cow_cli/cow_cli.py:1811-1821 \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":"plugins/cow_cli/cow_cli.py"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a344ad17fa72894ca2f9ff0413e5d6a3d187a705ea7d2bfc2cd88870cdac7de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): channel/web/api/agents.py:162-171 | channel/web/api/menu.py:166-172 | channel/web/api/themes.py:331-338 \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":"channel/web/api/agents.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"dabe16fd109a41b8b90619ab08094a74ccceb18708afd36a302bc8ee8ba8e616"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): channel/wechat_kf/wechat_kf_channel.py:130-140 | channel/wechatcom/wechatcomapp_channel.py:92-104 \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":"channel/wechat_kf/wechat_kf_channel.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8e7fbd63b9c0362d95c19fedd6794e661a44c76349d276deb68c956b44573c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): agent/guest/actions.py:122-128 | channel/web/api/guest.py:579-587 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/guest/actions.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4befffa1340baca43f47ab2a45e25bf083c7ba3d16d4391368b71f260979ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): agent/memory/conversation_store.py:929-952 | agent/memory/conversation_store.py:2051-2080 \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":"agent/memory/conversation_store.py"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be1f145289ff17a445bf1f04535da780edccbd60c0cc5163b7dee7ad77dde5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): channel/web/api/models.py:1853-1864 | channel/web/api/skills.py:241-255 \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":"channel/web/api/models.py"},"region":{"startLine":1853}}}],"partialFingerprints":{"codehealthFindingId/v1":"65fd69a6f1d18547b5b1480058b91962ea72e204a962129e63ebf72c7b20d374"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): common/cloud_client.py:1581-1593 | common/cloud_client.py:1596-1610 \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":"common/cloud_client.py"},"region":{"startLine":1581}}}],"partialFingerprints":{"codehealthFindingId/v1":"72386e286380bfa1521ebed0065d5997e1d32b585a51e20b9e7e72d52e15b120"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): bridge/agent_bridge.py:290-299 | bridge/agent_bridge.py:302-317 \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":"bridge/agent_bridge.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7de2645187d09296d19c86b2fef872f0aec28db45e4a96cf33c90c6436ff3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): agent/memory/conversation_store.py:2344-2357 | agent/memory/conversation_store.py:2360-2378 \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":"agent/memory/conversation_store.py"},"region":{"startLine":2344}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74fd3f8f7d4bdc534b4e28d1a4305600bc013379b1d79be36e219207aef1d1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): agent/tools/browser/browser_tool.py:411-417 | agent/tools/browser/browser_tool.py:420-426 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/browser/browser_tool.py"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aec1e6c8bf7460d3cf7cbfede1c30c1e8eb542f55964aecf0c78c3f385ac769"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): agent/skills/frontmatter.py:177-187 | app.py:34-45 | channel/channel_instances.py:182-187 | common/cloud_client.py:1100-1105 \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":"agent/skills/frontmatter.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"109de97d2c621569ed44bd816be0a601d3c4a1ec24eeccd69868b4b237a2641f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): cli/commands/backup.py:52-60 | cli/utils.py:66-78 \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":"cli/commands/backup.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3975770bf59c5a7cb313c9b58c50f5274c76f75afde4ce5aa72d300db29e4eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): agent/tools/web_search/web_search.py:161-170 | common/cloud_client.py:1044-1051 \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":"agent/tools/web_search/web_search.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cb5950139c75b8fb91d7ab4132bde5a27f7133e821a056115f8548a6e1c082"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): models/openai/openai_http_client.py:325-335 | models/chatgpt/chat_gpt_bot.py:514-522 \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":"models/openai/openai_http_client.py"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"90303a21df52e748db0f079ee6d2c5c2513c62c8635f3558f41e7198a0984ae5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): channel/web/core/_common.py:116-127 | cli/utils.py:98-106 \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":"channel/web/core/_common.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc2e8076a70d58b996717c36e22e365f1324190eac062c21d9373ecdf75d4c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): channel/weixin/weixin_api.py:388-392 | common/cloud_client.py:1988-1994 \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":"channel/weixin/weixin_api.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"3985ff12a526eb10e9085eb040dee2265bdd72e1b1134e74d1f2bd97d57db040"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): agent/admin.py:226-228 | agent/registry.py:79-81 \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":"agent/admin.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b9401565f919203a1cfeb7cab6d3ceec51b3faf648167213b2e265fe3425f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): channel/web/core/channel.py:1802-1809 | channel/wechatmp/wechatmp_channel.py:150-156 \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":"channel/web/core/channel.py"},"region":{"startLine":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a10ffd7d5f3187f070b2938783333e537df13a9912ae69b8d80091a4468fa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): agent/tools/edit/edit.py:64-66 | agent/tools/write/write.py:46-48 \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":"agent/tools/edit/edit.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff357afa3e164592b925ac482f8d984131e688241540cc6098f684939aad5888"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): models/doubao/doubao_bot.py:41-44 | models/moonshot/moonshot_bot.py:42-45 \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":"models/doubao/doubao_bot.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6d82c2ddcc70b9dce1de95a5ba0be59aac56de9893cc9019535d9a037136e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): common/log.py:24-29 | config.py:961-973 \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":"common/log.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87ebc2e7a4b2dffdf1154b077c98e8a9568dd7c3d3bcafe330cb53296bed4a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): agent/tools/web_fetch/web_fetch.py:107-109 | agent/tools/web_search/web_search.py:184-186 \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":"agent/tools/web_fetch/web_fetch.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4cfceba1c89cfa41e04d8e740004f08dbcd40ed4978a21ba17b3395f76a86f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): agent/chat/service.py:746-750 | bridge/agent_bridge.py:998-1001 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/chat/service.py"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3f1e1874d83474bf6e93ca9de7f37fcf78231de330b221d6d6d357870ee81e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app.py:620-626 | common/cloud_client.py:1672-1677 \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":"app.py"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"160c91fb31a50be291ed4d5fbc1b4c854cb7debe59e268220c241f6410125573"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (98 lines \u00D7 2): channel/feishu/feishu_channel.py:1266-1363 | channel/feishu/feishu_channel.py:1640-1737 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d63d31cdc421bae69a96c847112ff1d5c1a79c17959406acc44b8ae2ce2756e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (66\u201367 lines \u00D7 2): models/dashscope/dashscope_bot.py:644-710 | models/zhipuai/zhipuai_bot.py:498-563 \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":"models/dashscope/dashscope_bot.py"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc59dad50e50dd115c0f63954b8cf0d88433cccbeaaf9d9fb393ec1ad590f32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (101\u2013108 lines \u00D7 2): models/deepseek/deepseek_bot.py:570-677 | models/mimo/mimo_bot.py:554-654 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/mimo/mimo_bot.py\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 38 separate duplicated blocks between them, totalling at least 899 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 \u0060models/deepseek/deepseek_bot.py:570\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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fc45e16fbced3e4d22d6107fa20a3593441277eb2695c50c3b76d3b69f412a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55\u201356 lines \u00D7 2): channel/feishu/feishu_channel.py:1191-1245 | channel/feishu/feishu_channel.py:1537-1592 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd218715a79709d0f3adb014d399a9de98f868cc3d7da114d62444d0beee25e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50\u201351 lines \u00D7 2): models/deepseek/deepseek_bot.py:392-442 | models/mimo/mimo_bot.py:384-433 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/mimo/mimo_bot.py\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 38 separate duplicated blocks between them, totalling at least 899 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. 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"042fd1f4f6b1b7669041c8462426c75f865edf2aae8c62400bd40123f4386ebe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): agent/memory/storage.py:968-1009 | agent/memory/storage.py:1268-1309 \u2014 both copies are in the same file, so extract the block 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":"agent/memory/storage.py"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"996181250e8761c9f4bea0e5a078e80a155b9adc8f899af93ae8ac46fa3b8aeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2): bridge/agent_bridge.py:2010-2067 | bridge/agent_initializer.py:1219-1276 \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 \u0060bridge/agent_bridge.py:2010\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":"bridge/agent_bridge.py"},"region":{"startLine":2010}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fde1bb7c90f17e6a3a66b3f595b6b67fa78b324ef82828942f665f90673ad4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39\u201340 lines \u00D7 2): channel/dingtalk/dingtalk_channel.py:533-572 | channel/dingtalk/dingtalk_channel.py:1160-1198 \u2014 both copies are in the same file, so extract the block 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":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"17bc260e7c39497a729dcf0cd90b3fc5bfb38cc58023d3d9c1f9e6a59c6effea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (76\u201377 lines \u00D7 2): models/doubao/doubao_bot.py:506-581 | models/moonshot/moonshot_bot.py:563-639 \u2014 \u0060models/doubao/doubao_bot.py\u0060 and \u0060models/moonshot/moonshot_bot.py\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 30 separate duplicated blocks between them, totalling at least 642 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. 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, \u0060models/moonshot/moonshot_bot.py:640\u0060 calls \u0060get\u0060 and \u0060models/doubao/doubao_bot.py:583\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":"models/doubao/doubao_bot.py"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae2cffda26083552b347211aa88f5660674ad1d53e3fb8e43d95bbe66b11cfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201339 lines \u00D7 3): models/deepseek/deepseek_bot.py:434-465 | models/mimo/mimo_bot.py:425-456 | models/moonshot/moonshot_bot.py:446-484 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/mimo/mimo_bot.py\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 38 separate duplicated blocks between them, totalling at least 899 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31f992e03c0d7ce1c8352704eed81f23332d2db2106be576a5c6f91840d4d76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201339 lines \u00D7 2): bridge/agent_bridge.py:454-492 | bridge/agent_bridge.py:526-563 \u2014 both copies are in the same file, so extract the block 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, \u0060bridge/agent_bridge.py:453\u0060 calls \u0060getattr\u0060 and \u0060bridge/agent_bridge.py:523\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":"bridge/agent_bridge.py"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6d0d31f4fb858a1789b8d663c90395744e20af9907dbbe7090a8be1ad2765a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): models/doubao/doubao_bot.py:362-400 | models/moonshot/moonshot_bot.py:418-456 \u2014 \u0060models/doubao/doubao_bot.py\u0060 and \u0060models/moonshot/moonshot_bot.py\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 30 separate duplicated blocks between them, totalling at least 642 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. 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":"models/doubao/doubao_bot.py"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"39731e708581701e624112acbc1ae8ee12a02883b7e17dd4b0dca93abf472185"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201338 lines \u00D7 2): channel/web/api/channels.py:251-288 | channel/web/api/channels.py:316-351 \u2014 both copies are in the same file, so extract the block 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, \u0060channel/web/api/channels.py:244\u0060 calls \u0060get\u0060 and \u0060channel/web/api/channels.py:315\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":"channel/web/api/channels.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f49781d18f4ff085631b351b85370e0718da5c569a2af4674f0fe87b0f7563"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201336 lines \u00D7 5): channel/discord/discord_channel.py:402-423 | channel/feishu/feishu_channel.py:2315-2350 | channel/slack/slack_channel.py:408-429 | channel/telegram/telegram_channel.py:540-561 | channel/wecom_bot/wecom_bot_channel.py:815-838 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/discord/discord_channel.py"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"61373b344de71648b381b1bc66b03b58b1df20eb449fbd6e55a2b402eebc470c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201336 lines \u00D7 3): models/deepseek/deepseek_bot.py:544-579 | models/mimo/mimo_bot.py:534-563 | models/openai_compatible_bot.py:419-450 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/mimo/mimo_bot.py\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 38 separate duplicated blocks between them, totalling at least 899 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. 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99c59ff66658a5f44e26be68c1b980fbf867428459b2f04d70dfaef8e9c7230"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): models/deepseek/deepseek_bot.py:498-533 | models/mimo/mimo_bot.py:488-523 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/mimo/mimo_bot.py\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 38 separate duplicated blocks between them, totalling at least 899 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"851da9bdcf162ea11949dbc85470054c19aca872b757b96c4c1252483af0784c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201334 lines \u00D7 4): models/deepseek/deepseek_bot.py:233-254 | models/doubao/doubao_bot.py:204-237 | models/mimo/mimo_bot.py:233-254 | models/moonshot/moonshot_bot.py:243-276 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/doubao/doubao_bot.py\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 21 separate duplicated blocks between them, totalling at least 385 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"773e0d2288b3f5a480ef78f52e63f4905667c48299c836d23e97d8606ae6b618"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201334 lines \u00D7 3): models/deepseek/deepseek_bot.py:356-387 | models/mimo/mimo_bot.py:348-379 | models/moonshot/moonshot_bot.py:360-393 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/mimo/mimo_bot.py\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 38 separate duplicated blocks between them, totalling at least 899 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. 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a837e1156a87bea3a87cbdd38df39969498823def4c32ad07c9452a2b9e0ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): models/doubao/doubao_bot.py:113-145 | models/moonshot/moonshot_bot.py:155-187 \u2014 \u0060models/doubao/doubao_bot.py\u0060 and \u0060models/moonshot/moonshot_bot.py\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 30 separate duplicated blocks between them, totalling at least 642 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. 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":"models/doubao/doubao_bot.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7b4cbb17594b5cf57e00609172d15dc6a7888af07121a315b82977784aaf72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): agent/tools/utils/truncate.py:79-109 | agent/tools/utils/truncate.py:175-204 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent/tools/utils/truncate.py:79\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":"agent/tools/utils/truncate.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da324940991daf458f7e3f945c865c4f457e43d67cc77009b3fae38b06da709"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): channel/dingtalk/dingtalk_channel.py:714-744 | channel/dingtalk/dingtalk_channel.py:794-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. 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":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6acd84702d51e0ddd4baf5f1416892e4d86d321c1734672e4de92eeeb7b26cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 3): models/doubao/doubao_bot.py:468-495 | models/minimax/minimax_bot.py:534-561 | models/moonshot/moonshot_bot.py:525-552 \u2014 \u0060models/doubao/doubao_bot.py\u0060 and \u0060models/minimax/minimax_bot.py\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 20 separate duplicated blocks between them, totalling at least 344 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":"models/doubao/doubao_bot.py"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb831af0faf8aeac555f1c31b66ed4eb550d7b8b66582cd988f6001d190e43b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): models/deepseek/deepseek_bot.py:295-322 | models/mimo/mimo_bot.py:288-314 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/mimo/mimo_bot.py\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 38 separate duplicated blocks between them, totalling at least 899 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. 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"341c822ed4ca18be5f650e56d61a0767ce7f399abd888190c5db92aa28422015"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): agent/tools/send/send.py:92-118 | agent/tools/send/send.py:145-170 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/send/send.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d90fd361eb15c6a26639dd050620c2313717e5cc97139d8b3cbe73d2e9ac606"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): channel/feishu/feishu_channel.py:1374-1400 | channel/feishu/feishu_channel.py:1778-1804 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1374}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d84dde5f741655e5a738b0ed48eab2007b16d27b12cd47065b10bd76642abf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): channel/feishu/feishu_channel.py:1411-1437 | channel/feishu/feishu_channel.py:1802-1828 \u2014 both copies are in the same file, so extract the block 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":"channel/feishu/feishu_channel.py"},"region":{"startLine":1411}}}],"partialFingerprints":{"codehealthFindingId/v1":"775c42051f336bceed96ac19ff15053e4986d8d65ef6a5d6bef623948d967b4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): models/doubao/doubao_bot.py:390-415 | models/minimax/minimax_bot.py:719-745 \u2014 \u0060models/doubao/doubao_bot.py\u0060 and \u0060models/minimax/minimax_bot.py\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 20 separate duplicated blocks between them, totalling at least 344 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":"models/doubao/doubao_bot.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"571db723cf1da796fb9e42a11762041ca47aaf6208610e6038ec05258c63fd6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201326 lines \u00D7 7): models/deepseek/deepseek_bot.py:350-370 | models/doubao/doubao_bot.py:308-328 | models/gemini/google_gemini_bot.py:797-822 | models/mimo/mimo_bot.py:342-362 | models/minimax/minimax_bot.py:600-620 | models/modelscope/modelscope_bot.py:580-600 | models/moonshot/moonshot_bot.py:354-374 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/doubao/doubao_bot.py\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 21 separate duplicated blocks between them, totalling at least 385 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. 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc4b3fab379fd6094271cc25b75c3fb5dcf458cae3a3aad69aa902abe46a647"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201326 lines \u00D7 5): models/deepseek/deepseek_bot.py:354-373 | models/gemini/google_gemini_bot.py:801-826 | models/linkai/link_ai_bot.py:812-830 | models/mimo/mimo_bot.py:346-365 | models/moonshot/moonshot_bot.py:358-378 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/deepseek/deepseek_bot.py"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"708d29da39bd0b5bec8f5b3a61514d1311d7d9e63b27030ff8ad6107012c4358"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201326 lines \u00D7 4): models/deepseek/deepseek_bot.py:378-400 | models/doubao/doubao_bot.py:334-357 | models/mimo/mimo_bot.py:370-392 | models/moonshot/moonshot_bot.py:383-408 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/doubao/doubao_bot.py\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 21 separate duplicated blocks between them, totalling at least 385 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. 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f6183c9fd5f4df749f5d5a926702fddcfd91b24adef7630b0ec5347b7e5247"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 4): models/deepseek/deepseek_bot.py:595-620 | models/doubao/doubao_bot.py:527-552 | models/mimo/mimo_bot.py:576-601 | models/moonshot/moonshot_bot.py:584-609 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/doubao/doubao_bot.py\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 21 separate duplicated blocks between them, totalling at least 385 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. 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d6f106b2ae794b309bd15cb188c6b3bfe8612a5e5c1e3bfdd1b6787dc4cbe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 3): models/doubao/doubao_bot.py:377-401 | models/minimax/minimax_bot.py:706-731 | models/moonshot/moonshot_bot.py:433-457 \u2014 \u0060models/doubao/doubao_bot.py\u0060 and \u0060models/minimax/minimax_bot.py\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 20 separate duplicated blocks between them, totalling at least 344 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":"models/doubao/doubao_bot.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"437a0b040e2505d8ff4750ab503fa6b66a4f15780017ac8034fedd6aec9e9dfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201324 lines \u00D7 5): models/deepseek/deepseek_bot.py:433-449 | models/doubao/doubao_bot.py:389-411 | models/mimo/mimo_bot.py:424-440 | models/minimax/minimax_bot.py:718-741 | models/moonshot/moonshot_bot.py:445-467 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/doubao/doubao_bot.py\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 21 separate duplicated blocks between them, totalling at least 385 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060models/doubao/doubao_bot.py:414\u0060 calls \u0060get\u0060 and \u0060models/deepseek/deepseek_bot.py:451\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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"93316f70d19cc95b2c02445706dda129b61cc2e31d5b66dfcf12e854ec68053a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): cli/commands/skill.py:1347-1370 | cli/commands/skill.py:1431-1452 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/skill.py"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc029db4fad82ed04fccd75c1ab67f4f30866a4b7bd63ef1768b23fca174fd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 5): models/deepseek/deepseek_bot.py:451-472 | models/doubao/doubao_bot.py:418-439 | models/mimo/mimo_bot.py:442-463 | models/minimax/minimax_bot.py:757-779 | models/moonshot/moonshot_bot.py:470-491 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/doubao/doubao_bot.py\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 21 separate duplicated blocks between them, totalling at least 385 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060models/doubao/doubao_bot.py:414\u0060 calls \u0060get\u0060 and \u0060models/deepseek/deepseek_bot.py:449\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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"2509eb6b340078a1bc5c527f5afd583608c2fb850df5aa26f91a29f055cb3f2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 5): models/deepseek/deepseek_bot.py:516-537 | models/doubao/doubao_bot.py:477-499 | models/mimo/mimo_bot.py:506-527 | models/minimax/minimax_bot.py:543-565 | models/moonshot/moonshot_bot.py:534-556 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/doubao/doubao_bot.py\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 21 separate duplicated blocks between them, totalling at least 385 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"17cea3832ae7ac0927cbf21cea73f4b54c5ca11ee8c50b1f5fedbc53d39d2250"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 3): models/doubao/doubao_bot.py:135-156 | models/modelscope/modelscope_bot.py:155-177 | models/moonshot/moonshot_bot.py:177-198 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060session\u0060 to \u0060DoubaoSession\u0060 in one and \u0060MoonshotSession\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":"models/doubao/doubao_bot.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1da69af2d9076272f1104ec6047a92063f32cbce5d5247aecd431feffcea046"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): channel/feishu/feishu_channel.py:2183-2204 | channel/feishu/feishu_channel.py:2249-2271 \u2014 both copies are in the same file, so extract the block 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":"channel/feishu/feishu_channel.py"},"region":{"startLine":2183}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a68e374528985d68f98613aad0a190910f1abc2a22ae4318607e2589b0a788"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): models/claudeapi/claude_api_bot.py:194-216 | models/openai/open_ai_bot.py:85-107 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060models/claudeapi/claude_api_bot.py:193\u0060 calls \u0060info\u0060 and \u0060models/openai/open_ai_bot.py:84\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":"models/claudeapi/claude_api_bot.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c68d5b927bfff28dd3e8011dfd060d3a330d878eeee9e769fef6248371190b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): models/deepseek/deepseek_bot.py:206-228 | models/mimo/mimo_bot.py:206-228 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/mimo/mimo_bot.py\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 38 separate duplicated blocks between them, totalling at least 899 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. 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"923f604840a17d20775173166d72fba675d2eda35c64a337c91e2b46981612a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 5): channel/dingtalk/dingtalk_channel.py:736-754 | channel/dingtalk/dingtalk_channel.py:816-834 | channel/feishu/feishu_channel.py:918-939 | channel/qq/qq_channel.py:549-567 | channel/wecom_bot/wecom_bot_channel.py:680-698 \u2014 there are 5 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060channel/feishu/feishu_channel.py:918\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":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"485ce4d0017688944015d87acaf6dfbf6961ed8d58727b35320dbda0ea31f8f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 3): models/deepseek/deepseek_bot.py:492-511 | models/mimo/mimo_bot.py:483-501 | models/moonshot/moonshot_bot.py:512-533 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/mimo/mimo_bot.py\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 38 separate duplicated blocks between them, totalling at least 899 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"3821d7ce6ee5d06ba6eed3d560f2f486a45935a3d20e7298dce6b826d910944f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201322 lines \u00D7 2): agent/tools/search_files/search_files.py:474-483 | agent/tools/utils/credentials.py:32-53 \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":"agent/tools/search_files/search_files.py"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"140b27aaba4de87ba2190088d90661b99972df458520014a6ce2b9beb77520f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): channel/wechatcom/wechatcomapp_message.py:36-57 | channel/wechatmp/wechatmp_message.py:43-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060channel/wechatcom/wechatcomapp_message.py: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":"channel/wechatcom/wechatcomapp_message.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c0db01f9354dd95624b0f16e081497081903d340f66b7b120953ac38fbddcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): agent/tools/vision/vision.py:421-439 | agent/tools/vision/vision.py:482-502 \u2014 both copies are in the same file, so extract the block 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":"agent/tools/vision/vision.py"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"7315a6bfd240f1cbd02de95a3b5307e06e97d525227d72be59a5387c250af7fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): channel/qq/qq_channel.py:812-832 | channel/qq/qq_channel.py:860-880 \u2014 both copies are in the same file, so extract the block 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":"channel/qq/qq_channel.py"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c78eda2f583d9d14a517c48d542812d9800738e11a1d892c8ce945f8cc40cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201321 lines \u00D7 2): channel/web/api/models.py:1203-1218 | channel/web/api/models.py:1423-1443 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/models.py"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f3cd153a25457f6bb78acaff8ec8770ec8e541851e013cfb2b1dde008577d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): channel/wechatmp/active_reply.py:58-76 | channel/wechatmp/passive_reply.py:252-272 \u2014 before extracting anything, compare \u0060channel/wechatmp/active_reply.py\u0060 and \u0060channel/wechatmp/passive_reply.py\u0060 as WHOLE FILES: 83% 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 2 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060channel/wechatmp/passive_reply.py:252\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":"channel/wechatmp/active_reply.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8566803ac889937dbf8fdc1fb748c9c088ec3bddb13bf3351127c1e50d8bb5ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 10): models/chatgpt/chat_gpt_session.py:32-50 | models/dashscope/dashscope_session.py:22-41 | models/deepseek/deepseek_session.py:22-41 | models/doubao/doubao_session.py:23-42 | models/mimo/mimo_session.py:22-41 | models/minimax/minimax_session.py:32-50 | models/modelscope/modelscope_session.py:22-41 | models/moonshot/moonshot_session.py:22-41 | models/qianfan/qianfan_session.py:22-41 | models/zhipuai/zhipu_ai_session.py:24-43 \u2014 before extracting anything, compare \u0060models/chatgpt/chat_gpt_session.py\u0060 and \u0060models/dashscope/dashscope_session.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 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":"models/chatgpt/chat_gpt_session.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1842f6d60bf7c71703c840637afe53204b3587adc176bd55f9d9f886216d9779"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201320 lines \u00D7 8): models/deepseek/deepseek_bot.py:347-360 | models/doubao/doubao_bot.py:305-318 | models/gemini/google_gemini_bot.py:794-813 | models/mimo/mimo_bot.py:339-352 | models/minimax/minimax_bot.py:596-610 | models/modelscope/modelscope_bot.py:200-213 | models/modelscope/modelscope_bot.py:577-590 | models/moonshot/moonshot_bot.py:351-364 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/doubao/doubao_bot.py\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 21 separate duplicated blocks between them, totalling at least 385 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. 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c120b5e5f994c9c3cceffec2159f07275aa3703c05442fbd079316274289432"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): models/deepseek/deepseek_bot.py:712-731 | models/mimo/mimo_bot.py:690-709 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/mimo/mimo_bot.py\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 38 separate duplicated blocks between them, totalling at least 899 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. 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"80203738effbf2ba456c7a2d456ee965a77bbc3513a77a4c1de04dc6b44517de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 4): models/deepseek/deepseek_bot.py:487-504 | models/doubao/doubao_bot.py:458-475 | models/mimo/mimo_bot.py:478-494 | models/moonshot/moonshot_bot.py:507-525 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/doubao/doubao_bot.py\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 21 separate duplicated blocks between them, totalling at least 385 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. 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7fa6afcb74e75a03e091837229f426f44303d8673de4b28cdc0a7c86a8a1ab5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): agent/tools/scheduler/integration.py:1019-1037 | agent/tools/scheduler/integration.py:1100-1118 | agent/tools/scheduler/integration.py:1206-1224 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060agent/tools/scheduler/integration.py:1204\u0060 calls \u0060get\u0060 and \u0060agent/tools/scheduler/integration.py:1018\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":"agent/tools/scheduler/integration.py"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2a40ccea243b9ca80534240be54e6fa3ab7a6b257bff57f44ffce168590a77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): channel/discord/discord_channel.py:227-245 | channel/slack/slack_channel.py:243-261 | channel/telegram/telegram_channel.py:354-372 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060channel/discord/discord_channel.py:247\u0060 calls \u0060strip\u0060, \u0060lower\u0060, \u0060_do_cancel\u0060 and \u0060channel/telegram/telegram_channel.py:373\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":"channel/discord/discord_channel.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2b8c709644c3242746da5ee8cb66aed6fbcb576bca9e928a15b1d6af16c2da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201319 lines \u00D7 3): models/deepseek/deepseek_bot.py:651-669 | models/mimo/mimo_bot.py:633-646 | models/moonshot/moonshot_bot.py:641-657 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/mimo/mimo_bot.py\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 38 separate duplicated blocks between them, totalling at least 899 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93ee3162e315db0060600cb98ccb6455d7d5ae488e6a280d8e73c8f2e05a18e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): models/deepseek/deepseek_bot.py:261-278 | models/mimo/mimo_bot.py:259-277 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/mimo/mimo_bot.py\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 38 separate duplicated blocks between them, totalling at least 899 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060models/deepseek/deepseek_bot.py:279\u0060 calls \u0060pop\u0060 and \u0060models/mimo/mimo_bot.py:278\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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb755fdafffb9dfc660f1e5f4e89cb9c23cb1004a4a0a66343c15734cbe9ed13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): channel/dingtalk/dingtalk_channel.py:692-709 | channel/dingtalk/dingtalk_channel.py:768-785 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"4934857bb6c3aa27afeeb8d3d49409a1d11a4732024af390a173edcad2250199"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201318 lines \u00D7 2): channel/feishu/feishu_channel.py:2232-2249 | channel/feishu/feishu_channel.py:2283-2294 \u2014 both copies are in the same file, so extract the block 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, \u0060channel/feishu/feishu_channel.py:2252\u0060 calls \u0060open\u0060 and \u0060channel/feishu/feishu_channel.py:2296\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":"channel/feishu/feishu_channel.py"},"region":{"startLine":2232}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ce4a8dc0c5e9a92e2db1bf2d03cb8e717d449fd1196789aebab0b7ed47f5a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): models/deepseek/deepseek_bot.py:147-164 | models/mimo/mimo_bot.py:141-158 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/mimo/mimo_bot.py\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 38 separate duplicated blocks between them, totalling at least 899 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 \u0060models/deepseek/deepseek_bot.py:147\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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9cba133f43ab4b7af93a76b9e7f9458a33256e0c8a21cff0d8897fcd9ea8c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): models/deepseek/deepseek_bot.py:196-212 | models/doubao/doubao_bot.py:118-133 | models/moonshot/moonshot_bot.py:160-175 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/doubao/doubao_bot.py\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 21 separate duplicated blocks between them, totalling at least 385 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 \u0060models/deepseek/deepseek_bot.py:196\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, \u0060models/doubao/doubao_bot.py:134\u0060 calls \u0060warn\u0060 and \u0060models/deepseek/deepseek_bot.py:213\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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d722df488cfc05594f4295553330d92e2ddf23a4ffe517e7f5b043609dd8c6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): agent/chat/service.py:491-507 | agent/protocol/agent.py:880-896 \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":"agent/chat/service.py"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ef5bdcdefbff44185085f8728ac7dcc75181ac8b20c84e56461f3babcfa864"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): agent/tools/scheduler/integration.py:918-934 | agent/tools/scheduler/integration.py:1198-1214 \u2014 both copies are in the same file, so extract the block 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":"agent/tools/scheduler/integration.py"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2a2fceea7610a4f1f111f8ae0ef7e3ef39a9a861025e1f98ac68c56f39861f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): agent/tools/web_search/web_search.py:1043-1059 | agent/tools/web_search/web_search.py:1151-1165 \u2014 both copies are in the same file, so extract the block 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 before the matched lines, \u0060agent/tools/web_search/web_search.py:1042\u0060 calls \u0060fail\u0060 and \u0060agent/tools/web_search/web_search.py:1150\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":"agent/tools/web_search/web_search.py"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb4594eb39b7d65b95e9513037dbda085eb76fe73c5a4dd5898222f45124acb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): channel/dingtalk/dingtalk_channel.py:405-421 | channel/dingtalk/dingtalk_channel.py:611-629 \u2014 both copies are in the same file, so extract the block 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 \u0060robot_code\u0060 to \u0060str = None\u0060 in one and \u0060str\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":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"836fa86c6023476590765d2a6ef5276de81f5927041ed9d228d30d8216ce5b1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): channel/wechatmp/active_reply.py:24-40 | channel/wechatmp/passive_reply.py:28-44 \u2014 before extracting anything, compare \u0060channel/wechatmp/active_reply.py\u0060 and \u0060channel/wechatmp/passive_reply.py\u0060 as WHOLE FILES: 83% 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 2 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060channel/wechatmp/passive_reply.py:27\u0060 calls \u0060time\u0060 and \u0060channel/wechatmp/active_reply.py:23\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":"channel/wechatmp/active_reply.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"457e047f5978a099a849e62e1c292cd91fca024038ecb90e97942b2bd048b740"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): channel/wechatmp/wechatmp_channel.py:211-227 | channel/wechatmp/wechatmp_channel.py:344-360 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060channel/wechatmp/wechatmp_channel.py:211\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":"channel/wechatmp/wechatmp_channel.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf84939b985b5044181923b7f7f44edd2d3199f67ce4687e67fbcf7128d073d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201317 lines \u00D7 2): models/claudeapi/claude_api_bot.py:446-455 | models/claudeapi/claude_api_bot.py:705-721 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/claudeapi/claude_api_bot.py"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"274040613a6713d4ea8aaa190a83ca6368b8809e672f6d8a8879cd1a91f4437b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 2): models/dashscope/dashscope_bot.py:151-164 | models/dashscope/dashscope_bot.py:216-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. 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":"models/dashscope/dashscope_bot.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad7e1fa0c63c571c86b434d32bb521df30469aca695b77f64b0f41dff18049f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): models/deepseek/deepseek_bot.py:188-204 | models/mimo/mimo_bot.py:184-200 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/mimo/mimo_bot.py\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 38 separate duplicated blocks between them, totalling at least 899 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. 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6747765f33e40f56459451316ef949b9b2409ff271cb2d8dbad0f5dc4c8371"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 11): models/chatgpt/chat_gpt_session.py:22-37 | models/dashscope/dashscope_session.py:12-27 | models/deepseek/deepseek_session.py:12-27 | models/doubao/doubao_session.py:13-28 | models/mimo/mimo_session.py:12-27 | models/minimax/minimax_session.py:22-37 | models/modelscope/modelscope_session.py:12-27 | models/moonshot/moonshot_session.py:12-27 | models/openai/open_ai_session.py:32-47 | models/qianfan/qianfan_session.py:12-27 | models/zhipuai/zhipu_ai_session.py:14-29 \u2014 before extracting anything, compare \u0060models/chatgpt/chat_gpt_session.py\u0060 and \u0060models/dashscope/dashscope_session.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060models/zhipuai/zhipu_ai_session.py:11\u0060 calls \u0060warn\u0060 and \u0060models/chatgpt/chat_gpt_session.py:19\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":"models/chatgpt/chat_gpt_session.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5467a9456ac3b98a5d31f1433d50d38d6d7fe7c113519e5e83fa76f86c7e618b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 9): models/dashscope/dashscope_bot.py:86-100 | models/deepseek/deepseek_bot.py:138-153 | models/doubao/doubao_bot.py:51-65 | models/mimo/mimo_bot.py:132-147 | models/minimax/minimax_bot.py:63-77 | models/modelscope/modelscope_bot.py:53-68 | models/moonshot/moonshot_bot.py:91-105 | models/qianfan/qianfan_bot.py:93-108 | models/zhipuai/zhipuai_bot.py:57-71 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 9 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 9 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/dashscope/dashscope_bot.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"816ad63490e595cd7de5904217b9542bf73209965b8f3823a7369a54d46abc2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 5): models/deepseek/deepseek_bot.py:312-327 | models/doubao/doubao_bot.py:268-281 | models/mimo/mimo_bot.py:304-319 | models/minimax/minimax_bot.py:318-331 | models/moonshot/moonshot_bot.py:317-330 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/doubao/doubao_bot.py\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 21 separate duplicated blocks between them, totalling at least 385 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 \u0060models/deepseek/deepseek_bot.py:312\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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"1466ef4af83740fe086fc99a5038107f131bf4e14131c8e013309c991c289b7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): models/claudeapi/claude_api_bot.py:253-267 | models/claudeapi/claude_api_bot.py:712-727 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/claudeapi/claude_api_bot.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25c61de028e803a51640752c0b17fab07a0f230e2800fb8218b8556ac6389c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 4): channel/feishu/feishu_channel.py:1353-1365 | channel/feishu/feishu_channel.py:1375-1389 | channel/feishu/feishu_channel.py:1727-1739 | channel/feishu/feishu_channel.py:1779-1793 \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. 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":"channel/feishu/feishu_channel.py"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"585ecfb4bda8b05599f02c775748141c18f84cbcc7a73c273260ada5be689f06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): models/deepseek/deepseek_bot.py:624-637 | models/mimo/mimo_bot.py:605-619 | models/moonshot/moonshot_bot.py:614-628 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/mimo/mimo_bot.py\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 38 separate duplicated blocks between them, totalling at least 899 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. 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ba45371c3dca08c14d604b1e1f932146ed1992b3276e46d4db89f44d846b73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): agent/tools/scheduler/integration.py:1046-1059 | agent/tools/scheduler/integration.py:1125-1139 \u2014 both copies are in the same file, so extract the block 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":"agent/tools/scheduler/integration.py"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f85d72064cf33517c8df156fd67f20d3ce7d587d7bd765a28caa9dc4420945"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 2): agent/tools/vision/vision.py:338-348 | agent/tools/vision/vision.py:352-366 \u2014 both copies are in the same file, so extract the block 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":"agent/tools/vision/vision.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee65fdbbc4d86a41da4e1aae9c0ff02eef865b2b0c937756df09e11ba8cbfd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): channel/discord/discord_channel.py:97-111 | channel/telegram/telegram_channel.py:118-132 \u2014 \u0060channel/discord/discord_channel.py\u0060 and \u0060channel/telegram/telegram_channel.py\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 10 separate duplicated blocks between them, totalling at least 145 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":"channel/discord/discord_channel.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8b3750e64ece30ebbf858aeca68d2c768d77f0dfd5a89bfacc05865f60a767"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): channel/wechatcom/wechatcomapp_message.py:21-35 | channel/wechatmp/wechatmp_message.py:25-39 \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":"channel/wechatcom/wechatcomapp_message.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d0e38dde406121dad75222e59511c27783e0f1791bee10cc20024450ee1ed8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): channel/wechatmp/passive_reply.py:203-217 | channel/wechatmp/passive_reply.py:219-233 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"channel/wechatmp/passive_reply.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66faac26e252d0b0656b84ed7c4bee3ac0002d08fc57e2a31f803957ff71c9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): models/doubao/doubao_bot.py:349-363 | models/minimax/minimax_bot.py:650-663 \u2014 \u0060models/doubao/doubao_bot.py\u0060 and \u0060models/minimax/minimax_bot.py\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 20 separate duplicated blocks between them, totalling at least 344 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 \u0060models/doubao/doubao_bot.py:349\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":"models/doubao/doubao_bot.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0298d3329bec4c29c8cd2bf34c3f8e77dc24740a0f5ec45a5301e53534788d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 5): models/deepseek/deepseek_bot.py:482-492 | models/doubao/doubao_bot.py:453-463 | models/mimo/mimo_bot.py:473-483 | models/minimax/minimax_bot.py:500-513 | models/moonshot/moonshot_bot.py:502-512 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/doubao/doubao_bot.py\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 21 separate duplicated blocks between them, totalling at least 385 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 \u0060models/minimax/minimax_bot.py:500\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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea103e4b9a133781c576cb6550faa80f495d1484f04953886a652bfd32ff24eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): models/deepseek/deepseek_bot.py:731-746 | models/doubao/doubao_bot.py:184-199 | models/minimax/minimax_bot.py:231-246 | models/moonshot/moonshot_bot.py:223-238 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/doubao/doubao_bot.py\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 21 separate duplicated blocks between them, totalling at least 385 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. 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c8d297db75ac4f77bdb3c68ff94222a7b3f085262344fe2436f1442bff4630"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): models/baidu/baidu_wenxin.py:36-49 | models/claudeapi/claude_api_bot.py:179-192 | models/openai/open_ai_bot.py:71-84 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060models/claudeapi/claude_api_bot.py:193\u0060 calls \u0060info\u0060 and \u0060models/baidu/baidu_wenxin.py:50\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":"models/baidu/baidu_wenxin.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a000f1c935dae2335755e674d5b56066e3cb9db03be838ace7cc0fc14a8c905"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): models/deepseek/deepseek_bot.py:162-175 | models/mimo/mimo_bot.py:156-169 | models/qianfan/qianfan_bot.py:118-131 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/mimo/mimo_bot.py\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 38 separate duplicated blocks between them, totalling at least 899 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 \u0060models/deepseek/deepseek_bot.py:162\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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31063f1a5817772f81aca3325e95c18b3f0209e67b09ab5d254e1a9aee3533d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): models/doubao/doubao_bot.py:68-81 | models/minimax/minimax_bot.py:80-93 | models/moonshot/moonshot_bot.py:108-121 \u2014 \u0060models/doubao/doubao_bot.py\u0060 and \u0060models/minimax/minimax_bot.py\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 20 separate duplicated blocks between them, totalling at least 344 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":"models/doubao/doubao_bot.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb26b7d72cc1fe668251002f87c85bf068df53351e0719aae61becff159ca4c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): agent/chat/service.py:629-642 | bridge/agent_bridge.py:939-952 \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 \u0060agent/chat/service.py:629\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":"agent/chat/service.py"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f712d79ae9ff1a80ac516269a76add602da1716df8475f22f4af81b706e6403"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): agent/tools/scheduler/integration.py:870-883 | agent/tools/scheduler/integration.py:1151-1163 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/integration.py"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebaf689890890393e794d8e38054fee286c73fb14147913a9712400485312a9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): models/chatgpt/chat_gpt_bot.py:178-191 | models/zhipuai/zhipuai_bot.py:93-105 \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":"models/chatgpt/chat_gpt_bot.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6f40eb12b78faf3f7ade21d82f26301939e2d1380d08d7819f00fcb1ca77b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): models/modelscope/modelscope_bot.py:415-428 | models/modelscope/modelscope_bot.py:458-471 \u2014 both copies are in the same file, so extract the block 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":"models/modelscope/modelscope_bot.py"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"9936cd861657a87a135d99534757b666c0e4b91033bc46b3c61981ed80d71af2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): plugins/cow_cli/cow_cli.py:1204-1217 | plugins/cow_cli/cow_cli.py:1250-1263 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/cow_cli/cow_cli.py"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"b986ab1e523ef8a41ac13f05e7cf184d607246170501e4bccc3745d2dd22a79d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): models/deepseek/deepseek_bot.py:561-573 | models/linkai/link_ai_bot.py:890-902 | models/mimo/mimo_bot.py:545-557 | models/openai_compatible_bot.py:432-444 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/mimo/mimo_bot.py\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 38 separate duplicated blocks between them, totalling at least 899 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. 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc2618dd64864fd5cf46d4059af598b2c11f359ee4d247af73d490cdc2c537e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 4): plugins/banwords/lib/WordsSearch.py:167-179 | plugins/banwords/lib/WordsSearch.py:190-202 | plugins/banwords/lib/WordsSearch.py:213-224 | plugins/banwords/lib/WordsSearch.py:233-244 \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":"plugins/banwords/lib/WordsSearch.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a7b9ec23cf159794d1e88f918022a3eb779584e8bd18570ee4874aaa8b2b50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): agent/chat/service.py:493-505 | agent/protocol/agent.py:882-894 | agent/protocol/message_utils.py:375-387 \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":"agent/chat/service.py"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c33a49623045b93928c51a6aef186658f99c9fe9b3aa0e5bc4aa107ce12b218"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): channel/feishu/feishu_channel.py:2118-2130 | channel/feishu/feishu_channel.py:2186-2197 | channel/feishu/feishu_channel.py:2252-2264 \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":"channel/feishu/feishu_channel.py"},"region":{"startLine":2118}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1c0fb32c6518833046ecfceaa5de9a7071fdf9c12495a439678121e4f5e10a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201313 lines \u00D7 3): models/chatgpt/chat_gpt_bot.py:177-184 | models/modelscope/modelscope_bot.py:97-109 | models/zhipuai/zhipuai_bot.py:92-98 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/chatgpt/chat_gpt_bot.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc0efb7acd44f304a563156165dbd4c84e91076e0de9e0dfc02734f9fc5b83e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): agent/chat/service.py:763-775 | bridge/agent_bridge.py:1010-1022 \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":"agent/chat/service.py"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"74409a352b914562dc3d0908af62f8dfd7427f0cd4ac27cb029330c9c8bdd1db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): agent/tools/mcp/mcp_oauth.py:159-171 | agent/tools/mcp/mcp_oauth.py:176-188 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/mcp/mcp_oauth.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ea31a386cf7bbe6b1d76aae08656a8de30d57d9de713d72a55789b62e0d6a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): agent/tools/tool_manager.py:182-194 | agent/tools/tool_manager.py:245-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060agent/tools/tool_manager.py:181\u0060 calls \u0060debug\u0060 and \u0060agent/tools/tool_manager.py:244\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":"agent/tools/tool_manager.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"175010cb8467e1bd79d3688be59311a2524b4667e71a19421499722bcbacf1bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): agent/tools/utils/truncate.py:154-166 | agent/tools/utils/truncate.py:243-255 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent/tools/utils/truncate.py:154\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":"agent/tools/utils/truncate.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f25a15cd8cf5b916c0ac685433235203a96d3c4cb0e65f8d86aa621af31fa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): channel/web/api/channels.py:436-448 | channel/web/api/channels.py:504-516 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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, \u0060channel/web/api/channels.py:449\u0060 calls \u0060get\u0060 and \u0060channel/web/api/channels.py:517\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":"channel/web/api/channels.py"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7b7ebc9e9277d886e9e6c47b28fd64e8f6d9ba15967b7bae7e495e938246f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201313 lines \u00D7 2): channel/web/api/sessions.py:877-885 | channel/web/api/sessions.py:959-971 \u2014 both copies are in the same file, so extract the block 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":"channel/web/api/sessions.py"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f6ed40e387401cdd41da0dda62be5b4fece9e4ef34b788337bf3fc238ff2ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): channel/weixin/weixin_channel.py:1117-1129 | channel/weixin/weixin_channel.py:1165-1177 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060channel/weixin/weixin_channel.py:1117\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":"channel/weixin/weixin_channel.py"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"590b9e1e65213f330d2b06a63a1995279d3cc930fb23d0111715fcccad6c3745"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 10): models/deepseek/deepseek_bot.py:459-469 | models/deepseek/deepseek_bot.py:528-539 | models/doubao/doubao_bot.py:426-436 | models/doubao/doubao_bot.py:490-501 | models/mimo/mimo_bot.py:450-460 | models/mimo/mimo_bot.py:518-529 | models/minimax/minimax_bot.py:556-567 | models/minimax/minimax_bot.py:765-775 | models/moonshot/moonshot_bot.py:478-488 | models/moonshot/moonshot_bot.py:547-558 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/doubao/doubao_bot.py\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 21 separate duplicated blocks between them, totalling at least 385 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"7993268681cc5974278db8e1d399e297d9e94ea5e35b0ef74daab006d285a81e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 9): models/chatgpt/chat_gpt_bot.py:166-176 | models/dashscope/dashscope_bot.py:104-114 | models/deepseek/deepseek_bot.py:158-167 | models/doubao/doubao_bot.py:74-84 | models/mimo/mimo_bot.py:152-161 | models/minimax/minimax_bot.py:86-96 | models/moonshot/moonshot_bot.py:114-124 | models/qianfan/qianfan_bot.py:112-123 | models/zhipuai/zhipuai_bot.py:81-91 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 9 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 9 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060models/deepseek/deepseek_bot.py:158\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, \u0060models/minimax/minimax_bot.py:98\u0060 calls \u0060get\u0060 and \u0060models/chatgpt/chat_gpt_bot.py:178\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":"models/chatgpt/chat_gpt_bot.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f714346eb55acf41b6e02c59c672cf6fa940b94269f2821753ae46023408494"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 6): channel/discord/discord_channel.py:417-425 | channel/feishu/feishu_channel.py:2341-2352 | channel/slack/slack_channel.py:423-431 | channel/telegram/telegram_channel.py:555-563 | channel/wecom_bot/wecom_bot_channel.py:831-840 | channel/weixin/weixin_channel.py:966-974 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/discord/discord_channel.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ee23d0165cb9df337628dea7b8a2d60e5defa8bddfe0cfd3fc84584298657b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201312 lines \u00D7 6): models/chatgpt/chat_gpt_bot.py:176-182 | models/dashscope/dashscope_bot.py:114-120 | models/doubao/doubao_bot.py:84-90 | models/modelscope/modelscope_bot.py:96-107 | models/moonshot/moonshot_bot.py:124-130 | models/zhipuai/zhipuai_bot.py:91-97 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 6 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060models/chatgpt/chat_gpt_bot.py:176\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":"models/chatgpt/chat_gpt_bot.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf816cd4d030744b8664c801a5ee22d9738139d68421a356bcd76c2bbee21e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 3): agent/tools/scheduler/integration.py:870-880 | agent/tools/scheduler/integration.py:972-983 | agent/tools/scheduler/integration.py:1151-1160 \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, \u0060agent/tools/scheduler/integration.py:984\u0060 calls \u0060debug\u0060 and \u0060agent/tools/scheduler/integration.py:881\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":"agent/tools/scheduler/integration.py"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"1555b6afc606de80e3be34ab5d18566a8300dacf8516c736e7d75e6c64e4cd11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agent/memory/conversation_store.py:1474-1485 | agent/memory/conversation_store.py:1521-1532 \u2014 both copies are in the same file, so extract the block 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":"agent/memory/conversation_store.py"},"region":{"startLine":1474}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d3150338fda4475b9bcf9beb8cd15d3d4a494606e9b6b9edb1bc24ca67038b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agent/protocol/agent_stream.py:2794-2805 | agent/protocol/agent_stream.py:3035-3046 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent_stream.py"},"region":{"startLine":2794}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b20c990268870ee38868e80416d24eca8aaf6e7a6cc7c50cdccd9bf83f259f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agent/tools/bash/background.py:248-259 | agent/tools/bash/bash.py:539-550 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/bash/background.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"5124a0a8107b262b78726c12b9d917d6c9d742da842c71a8af1a3dc581f9cc1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): agent/tools/scheduler/integration.py:1005-1016 | agent/tools/scheduler/integration.py:1088-1097 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/integration.py"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"e298bfc087c3afad84c621838c12854ac6f404b148ef3d71e7ea40f58246078c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): channel/dingtalk/dingtalk_channel.py:954-965 | channel/feishu/feishu_channel.py:1028-1039 \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":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33c3e33a9d289ff75df75d6993d2a0d73625de128740ab3e372d7dc02164255"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): channel/wechatmp/wechatmp_channel.py:356-367 | channel/wechatmp/wechatmp_channel.py:370-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. 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":"channel/wechatmp/wechatmp_channel.py"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef96ca99e8c089dc0274b398ffb97bb6df0cad71f0a2f64a99bf35316e7e9cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201312 lines \u00D7 2): voice/custom/custom_voice.py:90-97 | voice/openai/openai_voice.py:50-61 \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 \u0060voice/custom/custom_voice.py:90\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":"voice/custom/custom_voice.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c4c304e5751f6dad572ffbfbbcc80772497217790b7f3436f57f695757c57a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 11): models/chatgpt/chat_gpt_session.py:39-48 | models/dashscope/dashscope_session.py:29-39 | models/deepseek/deepseek_session.py:29-39 | models/doubao/doubao_session.py:30-40 | models/mimo/mimo_session.py:29-39 | models/minimax/minimax_session.py:39-48 | models/modelscope/modelscope_session.py:29-39 | models/moonshot/moonshot_session.py:29-39 | models/openai/open_ai_session.py:49-58 | models/qianfan/qianfan_session.py:29-39 | models/zhipuai/zhipu_ai_session.py:31-41 \u2014 before extracting anything, compare \u0060models/chatgpt/chat_gpt_session.py\u0060 and \u0060models/dashscope/dashscope_session.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 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":"models/chatgpt/chat_gpt_session.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"942cd4cb688ba20143e8c1dd34eff2742bb4ab2f797d1913a2ac93a5c2569870"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 7): channel/discord/discord_channel.py:418-426 | channel/feishu/feishu_channel.py:2343-2353 | channel/qq/qq_channel.py:617-625 | channel/slack/slack_channel.py:424-432 | channel/telegram/telegram_channel.py:556-564 | channel/wecom_bot/wecom_bot_channel.py:833-841 | channel/weixin/weixin_channel.py:967-975 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/discord/discord_channel.py"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f12e14c8506dfef25fa58977ed0d3354de6a641093550ffffc08d5608daf41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): channel/wechatmp/wechatmp_channel.py:225-235 | channel/wechatmp/wechatmp_channel.py:240-250 | channel/wechatmp/wechatmp_channel.py:257-267 | channel/wechatmp/wechatmp_channel.py:273-283 \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":"channel/wechatmp/wechatmp_channel.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"6822f825f9a527c0e45d50e3eaa0d3debc1558eaf8d448310583fb837135e0a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): agent/tools/scheduler/integration.py:835-845 | agent/tools/scheduler/integration.py:1052-1061 | agent/tools/scheduler/integration.py:1132-1141 \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":"agent/tools/scheduler/integration.py"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"868f7b392f10a45fc33e27f1b80e8bf8ffe52eea03499707f8e36766d3838dff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): agent/chat/session_service.py:49-59 | agent/chat/session_service.py:274-283 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent/chat/session_service.py:49\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/chat/session_service.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"514a94c868b2bfb964dbea8b3662f9acb0743ede0a94481d29130f84a6b701a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent/evolution/executor.py:110-120 | agent/memory/summarizer.py:879-889 \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":"agent/evolution/executor.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"56528e325d95dbd5644a1e0b7905232dfef5f1179a48d647d09146796f000b0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent/tools/browser/browser_service.py:1305-1315 | agent/tools/browser/browser_service.py:1324-1334 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/browser/browser_service.py"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"b557784f023708f169299fd6b9a296135feee287aaa7acc36d73e0b6e934a196"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent/tools/edit/edit.py:95-106 | agent/tools/send/send.py:67-77 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060agent/tools/send/send.py:63\u0060 calls \u0060lower\u0060, \u0060startswith\u0060, \u0060_build_url_result\u0060 and \u0060agent/tools/edit/edit.py:92\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":"agent/tools/edit/edit.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e584d7219821bfea6206cff7a73d988788c97fc8fc59a2a90f614d670b5ac4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): channel/discord/discord_channel.py:284-294 | channel/slack/slack_channel.py:302-312 \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":"channel/discord/discord_channel.py"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"427ef6995bd9cbc5f2b53bddab814e4dc66dd1ed159ab8cceec4d236df5e3106"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): channel/web/api/workspace.py:361-371 | channel/web/api/workspace.py:398-405 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060channel/web/api/workspace.py:361\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":"channel/web/api/workspace.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8050f3bc2fc18154068a5b6cdcc646da384fc83106c5503114327e5d9a7a76a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): channel/wechat_kf/wechat_kf_channel.py:235-245 | channel/wechat_kf/wechat_kf_channel.py:250-260 \u2014 both copies are in the same file, so extract the block 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 before the matched lines, \u0060channel/wechat_kf/wechat_kf_channel.py:232\u0060 calls \u0060_read_media\u0060 and \u0060channel/wechat_kf/wechat_kf_channel.py:249\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":"channel/wechat_kf/wechat_kf_channel.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9043d74aef592fe0f42d97aa5a38e87184c8cfc6521280cd277ba6da010109e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): channel/wechat_kf/wechat_kf_channel.py:608-618 | channel/wechatcom/wechatcomapp_channel.py:277-287 \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":"channel/wechat_kf/wechat_kf_channel.py"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc5b0d2fa0fec0b4daebcdf2c649176a2bc0498f4e4f22b7c2270a84792aa05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): channel/wechatmp/wechatmp_channel.py:387-397 | channel/wechatmp/wechatmp_channel.py:401-411 \u2014 both copies are in the same file, so extract the block 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":"channel/wechatmp/wechatmp_channel.py"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6e779f7bdb005a68667e0cbb94d1fa3a11c02125084288bc98ae14ab81c85c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 4): channel/discord/discord_channel.py:428-436 | channel/slack/slack_channel.py:434-442 | channel/telegram/telegram_channel.py:566-574 | channel/weixin/weixin_channel.py:977-986 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. The \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":"channel/discord/discord_channel.py"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"026476d2e594bbe7e96e6c4615a2966ef7cd202adfed10776793f9443628b047"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): agent/memory/conversation_store.py:262-271 | agent/protocol/message_utils.py:284-293 | bridge/agent_initializer.py:701-710 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"37037166f0a23ac9ae30eff8cc8ed8d9edd4c73db16583e0f9337c530ef0414f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): agent/tools/scheduler/integration.py:877-886 | agent/tools/scheduler/integration.py:1082-1090 | agent/tools/scheduler/integration.py:1157-1165 \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":"agent/tools/scheduler/integration.py"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9f948fd1dcfe55b22d4d9a0a9cf6e52dd735fb0814869408e2c54a41fdea9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): agent/tools/scheduler/integration.py:938-947 | agent/tools/scheduler/integration.py:1031-1040 | agent/tools/scheduler/integration.py:1218-1227 \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 \u0060agent/tools/scheduler/integration.py:938\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":"agent/tools/scheduler/integration.py"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5c79a85ae7488a616ca1de649dc138efabba228fb26a7af1522d21a35410c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): channel/discord/discord_channel.py:287-296 | channel/slack/slack_channel.py:305-314 | channel/telegram/telegram_channel.py:273-282 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060channel/telegram/telegram_channel.py:272\u0060 calls \u0060_compute_session_id\u0060 and \u0060channel/discord/discord_channel.py:286\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":"channel/discord/discord_channel.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"f253393fdd0d17e43fc66205dc43c23d1a638b602816001637531a1bf5d0a90c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): models/deepseek/deepseek_session.py:48-57 | models/mimo/mimo_session.py:48-57 | models/qianfan/qianfan_session.py:48-57 \u2014 \u0060models/deepseek/deepseek_session.py\u0060 and \u0060models/mimo/mimo_session.py\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 4 separate duplicated blocks between them, totalling at least 57 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. 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":"models/deepseek/deepseek_session.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a45e33713492a6c87d719a2dbaff179d4f464f79947139d3d2afc9292cad11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201317 lines \u00D7 3): channel/discord/discord_channel.py:251-266 | channel/slack/slack_channel.py:267-276 | channel/telegram/telegram_channel.py:373-389 \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 \u0060channel/discord/discord_channel.py: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. 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, \u0060channel/slack/slack_channel.py:263\u0060 calls \u0060strip\u0060, \u0060lower\u0060, \u0060_do_cancel\u0060 and \u0060channel/telegram/telegram_channel.py:372\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":"channel/discord/discord_channel.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0df426cb99dad1ad2520a70301d845dae14cbd2f15c75a82f469a86984f18c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): channel/feishu/feishu_channel.py:1951-1960 | channel/feishu/feishu_channel.py:2219-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. 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":"channel/feishu/feishu_channel.py"},"region":{"startLine":1951}}}],"partialFingerprints":{"codehealthFindingId/v1":"226c0516f2d8de9fc6c53930fa91ccaf0c79ae111473e96364632c3b570747bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): channel/qq/qq_channel.py:651-660 | channel/wecom_bot/wecom_bot_channel.py:1108-1114 \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":"channel/qq/qq_channel.py"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c95a5641336035fdad3207aa68c66c39c55a65884c82c8e89f75d6b415d164f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): cli/commands/skill.py:277-286 | cli/commands/skill.py:301-309 \u2014 both copies are in the same file, so extract the block 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":"cli/commands/skill.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a380008f4eb3a1b58ed022c2e86433fc6bb77a2dfc1232f0ae7ae56e0bb78a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): models/linkai/link_ai_bot.py:651-660 | models/openai_compatible_bot.py:102-111 \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":"models/linkai/link_ai_bot.py"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1414f2fc84838effe126f92c2e8efc049f1201e61e956edb0227c8c65c60925"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): skills/image-generation/scripts/generate.py:572-581 | skills/image-generation/scripts/generate.py:1017-1026 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/image-generation/scripts/generate.py"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec10cbbc4be0c7e8156f7fe546d994b1b0a29bdae67aa91fabb5c682519bc63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 4): agent/tools/web_fetch/web_fetch.py:351-359 | agent/tools/web_search/web_search.py:507-515 | agent/tools/web_search/web_search.py:565-572 | agent/tools/web_search/web_search.py:754-762 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060agent/tools/web_fetch/web_fetch.py:350\u0060 calls \u0060fail\u0060 and \u0060agent/tools/web_search/web_search.py:753\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":"agent/tools/web_fetch/web_fetch.py"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b2d12bebe8e2b79208876a9080eceac011a76916eb26f4608bb4e707125c31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): agent/tools/web_search/web_search.py:435-443 | agent/tools/web_search/web_search.py:748-756 | agent/tools/web_search/web_search.py:1102-1110 | agent/tools/web_search/web_search.py:1183-1191 \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":"agent/tools/web_search/web_search.py"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"8271fcceef5eb2b750d9ffc37d31434e60e07a371b35f9427a9c6c42c3d06703"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): channel/qq/qq_channel.py:1100-1109 | channel/qq/qq_channel.py:1128-1137 | channel/qq/qq_channel.py:1156-1164 \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 \u0060channel/qq/qq_channel.py:1100\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":"channel/qq/qq_channel.py"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d78cbb098907d363d7a3decfd7154b13895cdcde376e8ea190fee95dfeb4d08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): channel/dingtalk/dingtalk_message.py:245-253 | channel/dingtalk/dingtalk_message.py:266-274 \u2014 both copies are in the same file, so extract the block 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 \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":"channel/dingtalk/dingtalk_message.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"5719345f8454eb58c0fa0509491551899ca2735f99c2d439890f6ec24b7e5845"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): channel/discord/discord_channel.py:249-257 | channel/slack/slack_channel.py:265-273 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"channel/discord/discord_channel.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"a943ef2f66f578887343ec776591cf3ca000aec90aba55f3844e6aeb89cc4deb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): channel/web/api/artifacts.py:187-195 | channel/web/api/artifacts.py:237-245 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/artifacts.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ac80e355c04dcbe011b073d79de5e5405b177922c75ea9bd99b8e04e65392d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): channel/web/api/sessions.py:1020-1028 | channel/web/api/sessions.py:1099-1107 \u2014 both copies are in the same file, so extract the block 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":"channel/web/api/sessions.py"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"61815cce54a58b12733ba2a5f974bd51f3f0c5317050186648531c7b5ab084b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): channel/web/api/skills.py:639-647 | channel/web/api/workspace.py:273-281 \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":"channel/web/api/skills.py"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bcebc3be739b52fbbf6b5f00a3a21e3799981294c754c693a087c2a35310aba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): channel/wechatmp/wechatmp_channel.py:251-259 | channel/wechatmp/wechatmp_channel.py:382-390 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060channel/wechatmp/wechatmp_channel.py:251\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":"channel/wechatmp/wechatmp_channel.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3936a1fd11ceb1795942f1e6f8bc1fa4a0055195c16b0312d09c9cec2284cc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): channel/wecom_bot/wecom_bot_channel.py:494-502 | channel/wecom_bot/wecom_bot_channel.py:786-794 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060channel/wecom_bot/wecom_bot_channel.py:494\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":"channel/wecom_bot/wecom_bot_channel.py"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d45ad84e1ff4c8bfb08c4ecabdcc2b644be14bc298a04a943f7f3c4760b55a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): channel/wecom_bot/wecom_bot_channel.py:503-511 | channel/wecom_bot/wecom_bot_channel.py:797-805 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060channel/wecom_bot/wecom_bot_channel.py:503\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, \u0060channel/wecom_bot/wecom_bot_channel.py:795\u0060 calls \u0060_push_stream\u0060 and \u0060channel/wecom_bot/wecom_bot_channel.py:502\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":"channel/wecom_bot/wecom_bot_channel.py"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cd421ae2c09b8e55e3a10af3abbba1cb80999ed67dd147bdd0ce5090b13fd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cli/commands/skill.py:553-561 | cli/commands/skill.py:1677-1685 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/skill.py"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"707979d314b34bec961b640df4c040fe2ed94cf316b810c80eb96de7f819910e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): models/deepseek/deepseek_bot.py:332-340 | models/mimo/mimo_bot.py:324-332 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/mimo/mimo_bot.py\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 38 separate duplicated blocks between them, totalling at least 899 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e61e7ea65c20b12f7e0282ce2e195706faed32acf76d4a77c55bd0a0eefbdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): models/linkai/link_ai_bot.py:241-249 | models/linkai/link_ai_bot.py: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 \u0060models/linkai/link_ai_bot.py:241\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":"models/linkai/link_ai_bot.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a247bccad01e8da49dc357817cfca123d9211d8aeae7802c4e3ce33a4ab5c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 9): models/chatgpt/chat_gpt_bot.py:135-142 | models/dashscope/dashscope_bot.py:83-90 | models/deepseek/deepseek_bot.py:135-142 | models/doubao/doubao_bot.py:48-55 | models/mimo/mimo_bot.py:129-136 | models/modelscope/modelscope_bot.py:50-57 | models/moonshot/moonshot_bot.py:88-95 | models/qianfan/qianfan_bot.py:90-97 | models/zhipuai/zhipuai_bot.py:54-61 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 9 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 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/chatgpt/chat_gpt_bot.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ef593bbd2c4c1023fbc87faaa5acefd84d7924a39614f94afc00d5429a840b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): models/dashscope/dashscope_bot.py:116-123 | models/deepseek/deepseek_bot.py:170-177 | models/doubao/doubao_bot.py:86-93 | models/mimo/mimo_bot.py:164-171 | models/minimax/minimax_bot.py:100-107 | models/moonshot/moonshot_bot.py:126-133 | models/qianfan/qianfan_bot.py:126-133 \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 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, \u0060models/minimax/minimax_bot.py:98\u0060 calls \u0060get\u0060 and \u0060models/dashscope/dashscope_bot.py:115\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":"models/dashscope/dashscope_bot.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d440ae8f71fba9daedc1e38e2695ab2e10b3a4eb3864b1e5e1e03893d63b3db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): models/deepseek/deepseek_bot.py:157-164 | models/doubao/doubao_bot.py:73-82 | models/mimo/mimo_bot.py:151-158 | models/minimax/minimax_bot.py:85-94 | models/modelscope/modelscope_bot.py:83-94 | models/moonshot/moonshot_bot.py:113-122 | models/zhipuai/zhipuai_bot.py:80-89 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/doubao/doubao_bot.py\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 21 separate duplicated blocks between them, totalling at least 385 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"68eecaca12ec1130924ab0c3b6b8aef9adfb29b52c977c73864021bb330653bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 6): channel/dingtalk/dingtalk_channel.py:744-751 | channel/dingtalk/dingtalk_channel.py:824-831 | channel/feishu/feishu_channel.py:926-933 | channel/qq/qq_channel.py:556-562 | channel/wecom_bot/wecom_bot_channel.py:687-693 | channel/weixin/weixin_channel.py:933-939 \u2014 there are 6 copies across 5 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 6 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060channel/feishu/feishu_channel.py:934\u0060 calls \u0060info\u0060 and \u0060channel/weixin/weixin_channel.py:940\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":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0e481bcc9cbffaa05717f39efcfd94331087090f36a195cefba0306309e214"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): skills/image-generation/scripts/generate.py:478-485 | skills/image-generation/scripts/generate.py:583-590 | skills/image-generation/scripts/generate.py:777-784 | skills/image-generation/scripts/generate.py:910-917 | skills/image-generation/scripts/generate.py:1028-1035 \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":"skills/image-generation/scripts/generate.py"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"426942ceef968880bbbf0d6d6160714261c85d18963694d15eeb5c2ce12914d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): channel/feishu/feishu_channel.py:450-457 | channel/wechat_kf/wechat_kf_channel.py:120-127 | channel/wechatcom/wechatcomapp_channel.py:82-89 | channel/wechatmp/wechatmp_channel.py:140-147 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060channel/wechatcom/wechatcomapp_channel.py:79\u0060 calls \u0060info\u0060 and \u0060channel/wechat_kf/wechat_kf_channel.py:119\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":"channel/feishu/feishu_channel.py"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9494ce249a2ddbd75134f3e980d39ab17bab8c007681db2747b94a03da0abe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): channel/wechatmp/wechatmp_channel.py:358-365 | channel/wechatmp/wechatmp_channel.py:372-379 | channel/wechatmp/wechatmp_channel.py:388-395 | channel/wechatmp/wechatmp_channel.py:402-409 \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 \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":"channel/wechatmp/wechatmp_channel.py"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e7da61b343c8d5de32ff14428c4cb9c4186d21f87145f68c28247a4f3c4d61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): models/dashscope/dashscope_bot.py:265-272 | models/linkai/link_ai_bot.py:655-662 | models/openai_compatible_bot.py:106-113 | models/zhipuai/zhipuai_bot.py:234-241 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/dashscope/dashscope_bot.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38a6a21fad17d8c3cfe2902832b8275544fb79e5af5b7db73ce5b0a9d38ce43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): agent/tools/scheduler/integration.py:962-969 | agent/tools/scheduler/integration.py:1051-1058 | agent/tools/scheduler/integration.py:1131-1138 \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 \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, \u0060agent/tools/scheduler/integration.py:1049\u0060 calls \u0060get\u0060 and \u0060agent/tools/scheduler/integration.py:961\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":"agent/tools/scheduler/integration.py"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"127a5e98552d1dfed881ca32ec4ad7af2d194d8b5cb1415bed3624196fd2e99a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): channel/feishu/feishu_channel.py:115-122 | channel/weixin/weixin_channel.py:509-516 \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":"channel/feishu/feishu_channel.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77dee2c5f0919a88c05e3c779858f83df832922cf53c355dee418efcb885101"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): channel/feishu/feishu_channel.py:1970-1976 | channel/feishu/feishu_channel.py:2005-2012 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060channel/feishu/feishu_channel.py:1970\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":"channel/feishu/feishu_channel.py"},"region":{"startLine":1970}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9dca78f92d4e30adfd9623c4e6c61aeeb05336ec84963bb2d2598222d3ab06e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): channel/feishu/feishu_channel.py:2008-2014 | channel/feishu/feishu_channel.py:2302-2309 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060channel/feishu/feishu_channel.py:2008\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":"channel/feishu/feishu_channel.py"},"region":{"startLine":2008}}}],"partialFingerprints":{"codehealthFindingId/v1":"407cfb9b0f4c82c62224787732a773162e4e0a9cf37b9d2f5380e206b4ee9d42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): channel/wechat_kf/wechat_kf_channel.py:177-184 | channel/wechatcom/wechatcomapp_channel.py:108-113 \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":"channel/wechat_kf/wechat_kf_channel.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d70561ade60039d5cad3ba629be4f1e8f9235c7c527c6f3c5c8f2ece8bb3792"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): channel/wechat_kf/wechat_kf_channel.py:246-253 | channel/wechatcom/wechatcomapp_channel.py: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060channel/wechatcom/wechatcomapp_channel.py:197\u0060 calls \u0060info\u0060, \u0060format\u0060, \u0060fsize\u0060 and \u0060channel/wechat_kf/wechat_kf_channel.py:254\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":"channel/wechat_kf/wechat_kf_channel.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b85c92abdb249ff1e94832c48e1482736ee0e74499cf652ecc5fe7c75353614"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): channel/wechatcom/wechatcomapp_channel.py:182-189 | channel/wechatcom/wechatcomapp_channel.py:199-205 \u2014 both copies are in the same file, so extract the block 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":"channel/wechatcom/wechatcomapp_channel.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7cd67727fbd629f7e40c0d1c130a57046efb10c952ad369254b772037a7c35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): cli/commands/skill.py:1567-1574 | cli/commands/skill.py:1590-1596 \u2014 both copies are in the same file, so extract the block 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 \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":"cli/commands/skill.py"},"region":{"startLine":1567}}}],"partialFingerprints":{"codehealthFindingId/v1":"15dc1b517f737cba2ecc6489fa721cc7497325d2ff7b0096898ab11af33f7fbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cli/commands/skill.py:1717-1724 | plugins/cow_cli/cow_cli.py:1367-1374 \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":"cli/commands/skill.py"},"region":{"startLine":1717}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2bcbe98875a8bc976c9110c2197cd9444e89d09ba0e18155b8e763661ba6762"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): models/linkai/link_ai_bot.py:211-218 | models/linkai/link_ai_bot.py:354-361 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/linkai/link_ai_bot.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"587038300e240ea0d419dd5544e7c5606b668dba0b26fb07dd4fc6d93f3927fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): plugins/linkai/linkai.py:140-147 | plugins/linkai/linkai.py:175-182 \u2014 both copies are in the same file, so extract the block 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":"plugins/linkai/linkai.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"67605688171c437bf37461d34ff5f1c4447ce5d631211159a7a668a2cf52915f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): models/deepseek/deepseek_bot.py:337-343 | models/doubao/doubao_bot.py:295-301 | models/mimo/mimo_bot.py:329-335 | models/minimax/minimax_bot.py:583-589 | models/moonshot/moonshot_bot.py:341-347 \u2014 \u0060models/deepseek/deepseek_bot.py\u0060 and \u0060models/doubao/doubao_bot.py\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 21 separate duplicated blocks between them, totalling at least 385 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. 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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"3942077f87b7b97d88547f625becd1f266b7fc840b30f244aa96966e178d443f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 3): channel/discord/discord_channel.py:275-281 | channel/slack/slack_channel.py:294-299 | channel/telegram/telegram_channel.py:396-402 \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":"channel/discord/discord_channel.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc3ff695f0d9b3387ad1748f0c15797d3d70528dc3c57cbd5eb7588113aa69a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bridge/agent_initializer.py:1131-1137 | models/linkai/link_ai_bot.py:667-673 \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":"bridge/agent_initializer.py"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f78cdd5b8df68bdb17d30fbb3e20739e11a6a0f60e09a3f20ab9f8330c83f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): channel/web/api/scheduler.py:167-173 | channel/web/api/scheduler.py:197-203 \u2014 both copies are in the same file, so extract the block 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":"channel/web/api/scheduler.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c826215c8ef1e4ec9f80319f746fd9509f13c5f5a5bba505352a68ec5f8c0c88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): channel/web/api/skills.py:659-666 | channel/web/api/workspace.py:298-305 \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":"channel/web/api/skills.py"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df599e9c2cf65417f22425b770a434ea06e3df3c93bb7756c5739fa9cd861a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): channel/web/api/workspace.py:349-355 | channel/web/api/workspace.py:385-391 \u2014 both copies are in the same file, so extract the block 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, \u0060channel/web/api/workspace.py:392\u0060 calls \u0060get\u0060, \u0060strip\u0060 and \u0060channel/web/api/workspace.py:356\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":"channel/web/api/workspace.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"857d668924a034f8ee1e60b373f0a76246363eadec9e529733798a84ffe3e049"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): channel/wechat_kf/wechat_kf_message.py:77-83 | channel/wechat_kf/wechat_kf_message.py:93-100 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/wechat_kf/wechat_kf_message.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"9759094705ace33477221121ba2b3457b97218766016ebcb153301421d80dfbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): channel/wechatmp/wechatmp_channel.py:236-242 | channel/wechatmp/wechatmp_channel.py:368-374 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060channel/wechatmp/wechatmp_channel.py:236\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/wechatmp/wechatmp_channel.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"e059ee2de28d221987cb424d093c8b9d2050c271d887558e5f08d517fb47e7c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): channel/wechatmp/wechatmp_channel.py:269-275 | channel/wechatmp/wechatmp_channel.py:398-404 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060channel/wechatmp/wechatmp_channel.py:269\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":"channel/wechatmp/wechatmp_channel.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab733bb9a5aa0ba10098dd36e88d62d683298c0803f086c307b13198eb3ca42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cli/commands/knowledge.py:45-53 | plugins/cow_cli/cow_cli.py:1957-1965 \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":"cli/commands/knowledge.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"302ac2869d176ef232add6d350fb2c1838d7236059e7cf4f385aadca763cc0a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cli/commands/skill.py:878-887 | cli/commands/skill.py:929-938 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/skill.py"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"854689d82f3db8bfc1ea7058e37e7bedefd03a27f4ed74747fd01bfdd2764d04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): models/chatgpt/chat_gpt_bot.py:55-61 | models/openai/open_ai_bot.py:30-36 \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 \u0060models/chatgpt/chat_gpt_bot.py:55\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":"models/chatgpt/chat_gpt_bot.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad486aecaeee37b4fab3f89741db648e657cd7a869b38479aa92801a3187d2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): plugins/plugin_manager.py:399-405 | plugins/plugin_manager.py:434-440 \u2014 both copies are in the same file, so extract the block 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":"plugins/plugin_manager.py"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d9207f7c733a92bb61910c4fb72df5c76023a52fff6c8fc21f6a90a0e4265f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): voice/zhipuai/zhipuai_voice.py:44-50 | voice/zhipuai/zhipuai_voice.py:82-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. 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":"voice/zhipuai/zhipuai_voice.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e18f8debf08a8d1494b4f99a514b6e9b8672b966ae4435711634379846fbed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): skills/image-generation/scripts/generate.py:303-308 | skills/image-generation/scripts/generate.py:481-486 | skills/image-generation/scripts/generate.py:586-591 | skills/image-generation/scripts/generate.py:780-785 | skills/image-generation/scripts/generate.py:913-918 | skills/image-generation/scripts/generate.py:1031-1036 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/image-generation/scripts/generate.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"44db3241a3e21790008104fe2af8e8e6768345d7c74fca1d907c7069b8110083"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): agent/tools/web_search/web_search.py:435-440 | agent/tools/web_search/web_search.py:1102-1107 | agent/tools/web_search/web_search.py:1145-1150 | agent/tools/web_search/web_search.py:1183-1188 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060agent/tools/web_search/web_search.py:442\u0060 calls \u0060fail\u0060 and \u0060agent/tools/web_search/web_search.py:1151\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":"agent/tools/web_search/web_search.py"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1235571a2296e52472f9ae1ca0a1447083bbd5ed9a992acfc76defeca3a4df7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): channel/web/api/models.py:2417-2422 | channel/web/api/models.py:2480-2485 | channel/web/api/models.py:2581-2586 | channel/web/api/models.py:2735-2740 \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":"channel/web/api/models.py"},"region":{"startLine":2417}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa49c1ce921721f1c8512f6e1a97a5563083503926568413dc0d9b8c5ace2e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agent/memory/service.py:81-87 | agent/memory/service.py:98-104 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/service.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9302468e72c85a482ec11dbd786fe84b9c4b741b7a5917e30ba6eeb940d88541"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agent/tools/read/read.py:144-150 | agent/tools/send/send.py:39-45 \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":"agent/tools/read/read.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0c52d212f8dcbd587ea3dacee114429cf1f7c1c4232c65d2c926ee79e2a8a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): channel/wechatcom/wechatcomapp_channel.py:126-131 | channel/wechatmp/wechatmp_channel.py:316-322 \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":"channel/wechatcom/wechatcomapp_channel.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bec7117279b5193c2000fd323f212bc64654be5b06d576f8aeb965cbdaf1e22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): channel/wechatcom/wechatcomapp_channel.py:170-175 | channel/wechatcom/wechatcomapp_channel.py:193-198 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/wechatcom/wechatcomapp_channel.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"6448f201235aa1c335dab16cda051b3d04c3aa67afbab7fe9e5fdd19a4cc3276"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): models/dashscope/dashscope_bot.py:155-165 | models/dashscope/dashscope_bot.py:385-390 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060models/dashscope/dashscope_bot.py: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. 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":"models/dashscope/dashscope_bot.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb32d31925e41e8f1733d55b3d10f82a855932d976a57eb68b06e7ed756bee6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): plugins/godcmd/godcmd.py:146-151 | plugins/godcmd/godcmd.py:165-170 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/godcmd/godcmd.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae1bea72df447aafeab7dc57104790ab8d935cee3169660242f8513d65e58a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): skills/image-generation/scripts/generate.py:278-283 | skills/image-generation/scripts/generate.py:474-479 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/image-generation/scripts/generate.py"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"1753e9386a2ee05bb9a16b77c4ae163ebac70c30106cdd1f42b7a6d2d2dd6f12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): app.py:41-45 | channel/web/api/channels.py:195-199 | common/cloud_client.py:1101-1105 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e055b3b90cb854aabd5933b8cc71941d0fe743f0b1b80ae9c90b235c19461f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): channel/web/api/scheduler.py:618-624 | channel/web/api/skills.py:641-645 | channel/web/api/workspace.py:275-279 \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. 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, \u0060channel/web/api/scheduler.py:625\u0060 calls \u0060isinstance\u0060, \u0060get\u0060, \u0060dumps\u0060 and \u0060channel/web/api/skills.py:646\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":"channel/web/api/scheduler.py"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7124b2195042fecf417b68b3a948d5f0af4bd9352c68b504b907efd29da705"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): models/doubao/doubao_bot.py:180-184 | models/minimax/minimax_bot.py:227-231 | models/moonshot/moonshot_bot.py:219-223 \u2014 \u0060models/doubao/doubao_bot.py\u0060 and \u0060models/minimax/minimax_bot.py\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 20 separate duplicated blocks between them, totalling at least 344 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 \u0060models/doubao/doubao_bot.py:180\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":"models/doubao/doubao_bot.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a91b83d02b299c04f4411f2a1169e793dc62ef649e1ccb8d51682edc3d3c8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agent/chat/service.py:836-840 | bridge/agent_bridge.py:1839-1843 \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":"agent/chat/service.py"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6cf978aa078d6bc277e60a7b9ab4fcb546de63b11acd543ede398a0cb5f2eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agent/tools/web_search/web_search.py:505-509 | agent/tools/web_search/web_search.py:617-621 \u2014 both copies are in the same file, so extract the block 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":"agent/tools/web_search/web_search.py"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e9f4b92464eb3ed38e876d26e16b5a9574b02167a20d1deba14bbeedc8faec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): channel/chat_channel.py:797-801 | channel/chat_channel.py:808-812 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/chat_channel.py"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da2ac942facb580ff979e7db32d6597983f1555010792188309ab31a5a8ba8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cli/commands/skill.py:544-549 | cli/commands/skill.py:1668-1673 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/skill.py"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d7c5dccf1a16d20ba68ca40022351494c2aed32f0939f56a0d4004401f93d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): skills/image-generation/scripts/generate.py:472-476 | skills/image-generation/scripts/generate.py:1022-1026 \u2014 both copies are in the same file, so extract the block 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, \u0060skills/image-generation/scripts/generate.py:470\u0060 calls \u0060_apply_attribution_headers\u0060 and \u0060skills/image-generation/scripts/generate.py:1020\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":"skills/image-generation/scripts/generate.py"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cee8e882288862668f2bc7720ab60b94d387bf0aad1fbf7b760e5a87f75ead6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent/chat/service.py:694-701 | bridge/agent_bridge.py:979-987 \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":"agent/chat/service.py"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3603c2b2895d6c5c9bce1b32b5b080cd8ba71bc28dc30efd0f7ce22ddb9cc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agent/guest/actions.py:102-106 | channel/web/api/guest.py:509-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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/guest/actions.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdfdd4fc707cef818b8e94e50be324eae3e288c53d628bc0bd7641506abea3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): agent/tools/edit/edit.py:268-278 | agent/tools/ls/ls.py:146-151 | agent/tools/read/read.py:289-299 | agent/tools/search_files/search_files.py:467-471 | agent/tools/send/send.py:174-178 | agent/tools/vision/vision.py:163-167 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 6 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/edit/edit.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"5650e4817f79d45eac34950c7f251b1b1f4677902728a633f503d385d2db4991"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agent/tools/web_fetch/web_fetch.py:81-86 | agent/tools/web_search/web_search.py:94-100 \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":"agent/tools/web_fetch/web_fetch.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe365afebb7d8b888138de2d5af94b93d8413eaaa59df2d3ce7bc4d5ced267d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agent/workspace/project_store.py:88-96 | agent/workspace/session_prefs.py:74-80 \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 after the matched lines, \u0060agent/workspace/project_store.py:99\u0060 calls \u0060_normalize\u0060, \u0060realpath\u0060, \u0060expand_path\u0060 and \u0060agent/workspace/session_prefs.py:83\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":"agent/workspace/project_store.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d04ca4bcd4845588c352f0c4d95f31e639b55085126efbc545995501d50046"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent/workspace/project_store.py:152-163 | agent/workspace/session_prefs.py:159-166 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/workspace/project_store.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"5364e6aade7ca66122d5a4ca231d8edfafd95a76e52ccbc33a9aeaa1955d68ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): channel/discord/discord_channel.py:163-170 | channel/telegram/telegram_channel.py:255-262 \u2014 \u0060channel/discord/discord_channel.py\u0060 and \u0060channel/telegram/telegram_channel.py\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 10 separate duplicated blocks between them, totalling at least 145 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":"channel/discord/discord_channel.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"938c0b7afe081a6bb0b5bc5667954d99887c2e65539f8393b0fc34935813b7c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): channel/terminal/terminal_channel.py:187-192 | channel/web/core/_common.py:747-752 \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 what the matched lines are: every one of them assigns one field to another, so the block is a hand-written mapper between two data shapes rather than behaviour with a helper inside it. Extracting one shared function only works if both sites map the SAME pair of types in the same direction \u2014 check that first, because inverse or differently-typed mappers have no single function they can both call. Where they do not, the moves that exist are a generated or reflective mapper, a common embedded/base type the fields live on once, or accepting the run and covering it with a test that fails when a field is added to one side only."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/terminal/terminal_channel.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f3b85d01ebff5512a302e99cb733d47d6e01da24c5fecc126346a7abab37d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 7): models/dashscope/dashscope_bot.py:585-610 | models/deepseek/deepseek_bot.py:680-702 | models/doubao/doubao_bot.py:600-624 | models/mimo/mimo_bot.py:657-674 | models/moonshot/moonshot_bot.py:666-690 | models/openai_compatible_bot.py:391-416 | models/zhipuai/zhipuai_bot.py:470-495 \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 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":"models/dashscope/dashscope_bot.py"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2965317e5cee220a725fd98af0ac7178093317627d734e8826d7d1a7716d51e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): channel/slack/slack_channel.py:386-390 | channel/telegram/telegram_channel.py:516-520 \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":"channel/slack/slack_channel.py"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"2daab078b471d64bbb27dd2e272eab713158cffcfc57c197967dd5fe5d3bca09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): channel/web/api/artifacts.py:226-230 | channel/web/api/scheduler.py:177-181 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060channel/web/api/scheduler.py:187\u0060 calls \u0060row\u0060 and \u0060channel/web/api/artifacts.py:236\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":"channel/web/api/artifacts.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5a6fe7642af023837f996792317e4d932542421a9d453b64d8f238ab6856bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): channel/web/api/files.py:86-90 | channel/web/core/channel.py:767-771 \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":"channel/web/api/files.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7ed8a0f1d1f6a72d20adf0c1b29f4f69dc14484085b3b6556452321737ecb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): channel/web/api/knowledge.py:57-61 | channel/web/api/skills.py:593-597 | channel/web/api/skills.py:628-632 | channel/web/api/workspace.py:373-377 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/knowledge.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a6b63552caff15d42ef40c81436a5c8ab3932fbc16eba1869686399862a821"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): plugins/linkai/midjourney.py:204-210 | plugins/linkai/midjourney.py:242-248 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/linkai/midjourney.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba22cecd03abc0a12ffa465bc7fff813737491b7e9652e5e980f08bb404159c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CloudClient (LCOM4 9): CloudClient\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/cloud_client.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"80dacd78023f921db73696180d28658d0cb50542d78efbfeb315771834a5d6d1"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: tests.test_read_special_files.test_read_fifo_returns_error_without_waiting_for_writer[False]: Passed 2\u00D7, failed 1\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"136035e0a137f9511633d293de95a8fcc0f2ce8ff5bc782955333574f50d5b36"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: tests.test_read_special_files.test_read_fifo_returns_error_without_waiting_for_writer[True]: Passed 1\u00D7, failed 2\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"69f962282951c9cdf6f345ece8a7a613612205cc650a75819bae8a5fd6e7ca5e"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: python-telegram-bot: \u0060python-telegram-bot\u0060 22.8 is published on PyPI under \u0060LGPL-3.0-only\u0060, which this policy bans, and it is in the SHIPPED closure of this repository \u2014 so it is installed by everything that depends on this repository, not just by its test environment. A distribution offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package, or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"440d7a9cc333c1566f0fc4c73fe2d51a14ec6b5f01455056a72a5c0274d0f018"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agent/protocol/agent_stream.py: agent/protocol/agent_stream.py changed 47 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 96 in AgentStreamExecutor._call_llm_stream at line 1677. 29 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/protocol/agent_stream.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent_stream.py"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4a0956ac414b7cec91ab1d77b43aed96142c25e121e0c28901cc571fb7f91f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bridge/agent_bridge.py: bridge/agent_bridge.py changed 42 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 82 in AgentBridge.agent_reply at line 1510. 21 of those changes were fix/bug commits, and the other 21 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- bridge/agent_bridge.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_bridge.py"},"region":{"startLine":1510}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd83347f4c9624c68830a681ced66bc45779b08e496f8b6b6f07e07d5c21e99"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/web/static/js/chat/send.js: channel/web/static/js/chat/send.js changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 217 in send.startSSE at line 211. 7 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/web/static/js/chat/send.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":"channel/web/static/js/chat/send.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0df64ce80ec1f652be8a1d1a04dbba907004446475ce80603c04fcd7cdaaa3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/pages/settings/BasicSettings.tsx: desktop/src/renderer/src/pages/settings/BasicSettings.tsx changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 142 in BasicSettings.BasicSettings at line 49. 6 of those changes were fix/bug commits, and the other 13 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/pages/settings/BasicSettings.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":"desktop/src/renderer/src/pages/settings/BasicSettings.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"923e8721f9639f25d3a50e14a59d4a587b5c0d186dae355ae42766b8ff8c9896"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/components/ChatInput.tsx: desktop/src/renderer/src/components/ChatInput.tsx changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 143 in ChatInput.ChatInput at line 60. 5 of those changes were fix/bug commits, and the other 11 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/components/ChatInput.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/ChatInput.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4540435a6c0169a338439c0077ea51591eaa32fa3ff3c9eae448229b6301236c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/pages/ChatPage.tsx: desktop/src/renderer/src/pages/ChatPage.tsx changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 99 in ChatPage.ChatPage at line 79. 4 of those changes were fix/bug commits, and the other 16 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/pages/ChatPage.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":"desktop/src/renderer/src/pages/ChatPage.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"030e0d84366b02f29ec314e381f955250c19dadfd95a21253c11492f85562349"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/store/chatStore.ts: desktop/src/renderer/src/store/chatStore.ts changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 122 in chatStore.useChatStore.attachStream at line 339. 5 of those changes were fix/bug commits, and the other 11 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/store/chatStore.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":"desktop/src/renderer/src/store/chatStore.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"52da524c233e1b645522a5387042169b32f1380384dfc88b0137381cb180777f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agent/memory/conversation_store.py: agent/memory/conversation_store.py changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in conversation_store._group_into_display_turns at line 422. 17 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/memory/conversation_store.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6a08507407781f44ef2e7c035ac60c213fdf3ebb10924792d3b98ce4b6a81e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/web/api/models.py: channel/web/api/models.py changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in ModelsHandler._search_provider_key at line 1510. 9 of those changes were fix/bug commits, and the other 15 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/web/api/models.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/models.py"},"region":{"startLine":1510}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b507448ec4403c9bf1c72eb15bd58a903723be9c72f4e663a99dc931865c44"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: common/cloud_client.py: common/cloud_client.py changed 40 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in CloudClient.on_config at line 382. 21 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- common/cloud_client.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/cloud_client.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1611fee3700c77bc3bce44a094d26b1980c6484eb96a3c9126fd0a34f41aea"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/feishu/feishu_channel.py: channel/feishu/feishu_channel.py changed 33 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in FeiShuChanel._handle_message_event at line 769. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/feishu/feishu_channel.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"c218ba1b2f4eefa1aaff4d0678ee75f27e72049c1739474aa08def02221d4fc7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/pages/SkillsPage.tsx: desktop/src/renderer/src/pages/SkillsPage.tsx changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 84 in SkillsPage.SkillsPage at line 380. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/pages/SkillsPage.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":"desktop/src/renderer/src/pages/SkillsPage.tsx"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"920f58879ff74f56f8cf24a849afab421597596b9cab894490b136826d81eda7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agent/memory/manager.py: agent/memory/manager.py changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in MemoryManager.sync at line 319. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/memory/manager.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/manager.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c713b7c0eadeedcfae3af1d3848b9d869bd036626574b8e179407e4a396b06"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/dingtalk/dingtalk_channel.py: channel/dingtalk/dingtalk_channel.py changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in DingTalkChanel.send at line 871. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/dingtalk/dingtalk_channel.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"f303bfb6082984388b30627c3efbdc032f7efe3c6ec2464c42c6b4e916aa69dc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agent/tools/bash/bash.py: agent/tools/bash/bash.py changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 60 in Bash.execute 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/tools/bash/bash.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/bash/bash.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"802b0f4d31571a9fb107857c949c3355a8445b39586383d3f5cd4d8b01d32749"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: config.py: config.py changed 40 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in config.load_config at line 572. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- config.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config.py"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2c79c45d26efc3f0050aecb0df4b462d322869db522c1911d80598b10bbed1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agent/chat/service.py: agent/chat/service.py changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in ChatService.run at line 30. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/chat/service.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/chat/service.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee21ab498a538b6c79ae3c5b177372b7ff6bab2d088dea8b2660d6aa46c223b3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/commands/skill.py: cli/commands/skill.py changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in skill._install_hub at line 1274. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- cli/commands/skill.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/skill.py"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"65971a63d3ee14caadeeb15e4545e022ed8fca74224eeb318235001d56e18f4d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/chat_channel.py: channel/chat_channel.py changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in ChatChannel._compose_context 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/chat_channel.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/chat_channel.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b7e6e77da93050cae830b767fce883398c4e0bf0b5d8d542eb010c9b601b20"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agent/tools/web_search/web_search.py: agent/tools/web_search/web_search.py changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in WebSearch._search_anysearch at line 789. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/tools/web_search/web_search.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/web_search/web_search.py"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28cf917dade433345eb7ea89689495b09299e27fb920263add6b0672bf22664"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/web/static/js/chat/render.js: channel/web/static/js/chat/render.js changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 69 in render.loadHistory at line 782. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/web/static/js/chat/render.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":"channel/web/static/js/chat/render.js"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f926094b98ddbd4e8c8d13ea79b9eb177b1521aa12f7c5bec44ff3e604dea4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bridge/agent_initializer.py: bridge/agent_initializer.py changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in AgentInitializer._load_tools at line 963. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- bridge/agent_initializer.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_initializer.py"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed31de3d609746ec30f2973bd5b7e85b506cf6cdc2371eafe964f671ba19c02"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/index.ts: desktop/src/main/index.ts changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in index.setupIPC at line 657. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/main/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":"desktop/src/main/index.ts"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"701c45c1c75628251340377e0372bd691893722044a0f0807721f187657ab707"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/pages/KnowledgePage.tsx: desktop/src/renderer/src/pages/KnowledgePage.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 113 in KnowledgePage.KnowledgePage at line 260. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/pages/KnowledgePage.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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a3953b93d1ac57896061e6ce4acef7a1f8e4c92c15000b182cafbfc3d06a37"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/layout/NavRail.tsx: desktop/src/renderer/src/layout/NavRail.tsx changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in NavRail.NavRail 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/layout/NavRail.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":"desktop/src/renderer/src/layout/NavRail.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d816ddb86f5959252294db3c902dfdf31e83fcfa7e7dd45b70556f028183691"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/pages/settings/ModelsTab.tsx: desktop/src/renderer/src/pages/settings/ModelsTab.tsx changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in ModelsTab.VendorModal at line 458. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/pages/settings/ModelsTab.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":"desktop/src/renderer/src/pages/settings/ModelsTab.tsx"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3bd501ee93ab005a0b693e5c582925928f68226687b96bd7ef5cd06a8dd7f52"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: models/gemini/google_gemini_bot.py: models/gemini/google_gemini_bot.py changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in GoogleGeminiBot.call_with_tools at line 383. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- models/gemini/google_gemini_bot.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/gemini/google_gemini_bot.py"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8b1984ba38dcaab7170ddfdd00b1b2552b434f206f713123bbe554dc1b3776"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/wechatmp/wechatmp_channel.py: channel/wechatmp/wechatmp_channel.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in WechatMPChannel.send at line 168. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/wechatmp/wechatmp_channel.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/wechatmp/wechatmp_channel.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"495b43caacbc875a4238ff516fc63ef22e2ecd8d60adce40ba706e00ecef6868"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agent/multiagent/inbound.py: agent/multiagent/inbound.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in inbound.serve_invoke at line 21. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/multiagent/inbound.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/multiagent/inbound.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5704397ec6105311c7c08a58983f644a664537bdb2be00e0b06c522b7d34defc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: plugins/godcmd/godcmd.py: plugins/godcmd/godcmd.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 76 in Godcmd.on_handle_context at line 230. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- plugins/godcmd/godcmd.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/godcmd/godcmd.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa495eec35df6b02065126b7d454726a1059de82ebe89e7daff5ff2cbfa7181"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/App.tsx: desktop/src/renderer/src/App.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 65 in App.App at line 41. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/App.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/App.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"58aa2158deb5f6a87558d8962a17c7b9bec1c6eb6145b5c2e2440d2f5ea85a1d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: models/claudeapi/claude_api_bot.py: models/claudeapi/claude_api_bot.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in ClaudeAPIBot._stream_once at line 805. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- models/claudeapi/claude_api_bot.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/claudeapi/claude_api_bot.py"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"95505195561237e3703168c9a5b0015a8656a397d2e23f473f6ab4daec0c4a42"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/components/MessageBubble.tsx: desktop/src/renderer/src/components/MessageBubble.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 62 in MessageBubble.MessageBubble at line 78. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/components/MessageBubble.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":"desktop/src/renderer/src/components/MessageBubble.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"206c68359248cfff5faa9ba463872b71629dd8029eb2ea951f217fa4498643af"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/feishu/feishu_message.py: channel/feishu/feishu_message.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in FeishuMessage.__init__ 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/feishu/feishu_message.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_message.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba65d037c987848f77c4652a1f74895f4bfddb4c7ff3062129196a30e20d3988"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/weixin/weixin_channel.py: channel/weixin/weixin_channel.py changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in WeixinChannel._qr_login at line 574. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/weixin/weixin_channel.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/weixin/weixin_channel.py"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd278d3dbd4fd662c3a0a86841b2d50e4026ff054fc2998da8751364f8b9137"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/wechat_kf/wechat_kf_channel.py: channel/wechat_kf/wechat_kf_channel.py changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in WechatKfChannel.send at line 164. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/wechat_kf/wechat_kf_channel.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/wechat_kf/wechat_kf_channel.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"66abb3488b424125562e6c08d1365d75c8c3609bf5721606b0da65bf7e46fddb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: plugins/cow_cli/cow_cli.py: plugins/cow_cli/cow_cli.py changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in CowCliPlugin._config_set at line 829. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- plugins/cow_cli/cow_cli.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/cow_cli/cow_cli.py"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0a84dc63a7baed3176c69420b340a6e8c855fd95df78abaec9e0f4dfa5f617"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/layout/SessionList.tsx: desktop/src/renderer/src/layout/SessionList.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 68 in SessionList.SessionList at line 146. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/layout/SessionList.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":"desktop/src/renderer/src/layout/SessionList.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6810fb3b525425212a5c35d3486e5c09aa99f5a6f3c3fd8ea5d52724c64e2f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agent/tools/agent_delegate/agent_delegate.py: agent/tools/agent_delegate/agent_delegate.py changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in AgentDelegateTool._delegate at line 449. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/tools/agent_delegate/agent_delegate.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/agent_delegate/agent_delegate.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"91db1b83be8fc42eda7375f1f14838bb9afb8235334e83623552f5409bb6fda1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/web/api/config.py: channel/web/api/config.py changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in ConfigHandler._save_settings at line 190. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/web/api/config.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/config.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82a4bdb81a927cb0fd4df4e47e8cfc878146e9bc6e92580d357a9c010de2972"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/pages/ChannelsPage.tsx: desktop/src/renderer/src/pages/ChannelsPage.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in ChannelsPage.ChannelCard at line 541. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/pages/ChannelsPage.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":"desktop/src/renderer/src/pages/ChannelsPage.tsx"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f050b06a3aa3761d0cc68009eb0df09c78c07c2074558d712cf81302614caa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agent/protocol/agent.py: agent/protocol/agent.py changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in Agent.get_context_usage at line 531. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/protocol/agent.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent.py"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e7cb89b818a99070465f7fdeb0027fb2aeff7d53359cffde7c0788db3a0578"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/web/core/channel.py: channel/web/core/channel.py changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in WebChannel.upload_file at line 806. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/web/core/channel.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"50975cab20912318edbe340f61de9ded8a2ed8ce34b39d60c8af98d63ff29578"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: models/linkai/link_ai_bot.py: models/linkai/link_ai_bot.py changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in LinkAIBot._chat at line 132. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- models/linkai/link_ai_bot.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/linkai/link_ai_bot.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1bc40c39e8bfe6523fc0e6870bcb54473f1571e532258904ef7369e3f215d8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/web/api/sessions.py: channel/web/api/sessions.py changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in HistoryHandler.GET at line 1014. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/web/api/sessions.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/sessions.py"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb12cf64f6de27fa57777cf72706180358665157f5869eabd7deefb532d70d3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agent/tools/scheduler/integration.py: agent/tools/scheduler/integration.py changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in integration._execute_skill_call at line 1122. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/tools/scheduler/integration.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/integration.py"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"339b22ea3c47f7209be3e9839737903a1e18eaaa8af3c563dd3477421d7570e0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agent/tools/web_fetch/web_fetch.py: agent/tools/web_fetch/web_fetch.py changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in WebFetch._fetch_deepseek at line 313. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/tools/web_fetch/web_fetch.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/web_fetch/web_fetch.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"738f6d0cb7ec7d46ab6f850cdd0a1f9138a2f97ce894ed86fb43e1da4d4d567d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx: desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 123 in ShareEditor.ShareEditor 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/pages/settings/shares/ShareEditor.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":"desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e91506f950ca22c7547f80b916bc13dcfa5b45c2816e4d8b024783831409fad"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/store/sessionStore.ts: desktop/src/renderer/src/store/sessionStore.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in sessionStore.useSessionStore 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/store/sessionStore.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":"desktop/src/renderer/src/store/sessionStore.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"3760312fb77134aab9b2fdb47486de83fdeef450d9f063b1d3fa5a871bea7e52"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: models/minimax/minimax_bot.py: models/minimax/minimax_bot.py changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in MinimaxBot._handle_stream_response at line 569. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- models/minimax/minimax_bot.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/minimax/minimax_bot.py"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"534a3a0bde3c49745db3db4ed4bbfd799b308ce4aa1d04e259d8bff4c8d7ea72"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/web/api/skills.py: channel/web/api/skills.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in SkillsHandler.POST at line 345. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/web/api/skills.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/skills.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"60caee9fb82e50647db4afa102568b3de0867895032e38dc9fa1904e52a24f36"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/web/static/js/views/models.js: channel/web/static/js/views/models.js changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in models.discoverCatalogModels at line 2694. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/web/static/js/views/models.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":"channel/web/static/js/views/models.js"},"region":{"startLine":2694}}}],"partialFingerprints":{"codehealthFindingId/v1":"657df92e887ae749a263be1383e865405383b6bdbf8875cb596959f568a2fb93"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/qq/qq_channel.py: channel/qq/qq_channel.py changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in QQChannel._upload_rich_media_chunked at line 918. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/qq/qq_channel.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/qq/qq_channel.py"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ede6010781be4baf1d4c909e431c73ba688188d98ea08812b8ce6e81cef07a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/commands/backup.py: cli/commands/backup.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in backup.restore_backup_archive at line 427. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- cli/commands/backup.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/backup.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"02866c08920f1d242bdac1f14a4a21b4fab8023cb21b554cc8fa08ebf49d874b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/wechatcom/wechatcomapp_channel.py: channel/wechatcom/wechatcomapp_channel.py changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in WechatComAppChannel.send 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/wechatcom/wechatcomapp_channel.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/wechatcom/wechatcomapp_channel.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd9bed133fbaf8df0b364c3fc3722b9f740a013402363ba2ce019cd29d0f3d6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/pages/settings/ModelCatalogEditor.tsx: desktop/src/renderer/src/pages/settings/ModelCatalogEditor.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in ModelCatalogEditor.ModelCatalogEditor at line 137. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/pages/settings/ModelCatalogEditor.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":"desktop/src/renderer/src/pages/settings/ModelCatalogEditor.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ebfecc2097bf3d9b18f8a2abd612d67fe68805b3a9c777b9072c0b0b8d8262"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agent/admin.py: agent/admin.py changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in AgentAdminService.create_agent at line 376. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/admin.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/admin.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c09c512564880a1e1ffbfa5bea26ad866627f1e28c8291f62e2883966a0a61"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/web/static/js/views/config.js: channel/web/static/js/views/config.js changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in config.initConfigView at line 155. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/web/static/js/views/config.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/config.js"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"d763d9756e8cee941b337434e7c68213f07f974c75bb411244155768c1b81d87"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agent/tools/edit/edit.py: agent/tools/edit/edit.py changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in Edit._execute_locked at line 78. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/tools/edit/edit.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/edit/edit.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"104a7c69b29cc582e94751812a765def338cf6ed5cec46814b37e555a64bf5d0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/web/api/scheduler.py: channel/web/api/scheduler.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in SchedulerUpdateHandler.POST at line 272. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/web/api/scheduler.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/scheduler.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa11ee4f9a963e6879dc980ccff938fbeba1800803974c08e704cf6b29f1b0a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/pages/skills/SkillAddModal.tsx: desktop/src/renderer/src/pages/skills/SkillAddModal.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 76 in SkillAddModal.SkillAddModal at line 144. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/pages/skills/SkillAddModal.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":"desktop/src/renderer/src/pages/skills/SkillAddModal.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"815d3b36b12888968c31d0b129e09d2a59d8970892dc35953c2efa7c598c5231"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agent/tools/search_files/search_files.py: agent/tools/search_files/search_files.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in SearchFiles._find_by_name at line 275. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/tools/search_files/search_files.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/search_files/search_files.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86c96190971130361f4a6ea76dce3729cae6a5e0c3fc8e2b0f309daece80f21"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: models/modelscope/modelscope_bot.py: models/modelscope/modelscope_bot.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in ModelScopeBot._handle_stream_response at line 549. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- models/modelscope/modelscope_bot.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/modelscope/modelscope_bot.py"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1998c14a6975f922790b568273264ab4d124b844ad341b01d388496e26b0e58"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/discord/discord_channel.py: channel/discord/discord_channel.py changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in DiscordChannel._on_message at line 176. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/discord/discord_channel.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/discord/discord_channel.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"454b104bcccd2ff3cac63f55ce0f9902a5520d647a73b689b310fb032b7bbb47"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agent/tools/scheduler/scheduler_tool.py: agent/tools/scheduler/scheduler_tool.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in SchedulerTool._create_task at line 164. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/tools/scheduler/scheduler_tool.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/scheduler_tool.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"241030fc869698410cebaf1908962e81924b4b096fcbee7e779daf1ff060e143"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/web/static/js/views/shares.js: channel/web/static/js/views/shares.js changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in shares.saveShareEditor at line 940. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/web/static/js/views/shares.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":"channel/web/static/js/views/shares.js"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1ef82550602035da59019cf7e13b4cfaa0519b2f7f4580d50c0595d127f2f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/telegram/telegram_channel.py: channel/telegram/telegram_channel.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in TelegramChannel._async_send at line 695. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/telegram/telegram_channel.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"9729573d9a42faf797c0c421cd234ec380163cbef8a232add8da582b6a559cee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/components/WorkspaceSelector.tsx: desktop/src/renderer/src/components/WorkspaceSelector.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in WorkspaceSelector.WorkspaceSelector at line 23. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/components/WorkspaceSelector.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":"desktop/src/renderer/src/components/WorkspaceSelector.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"21188cc5addbf4c7e3a688b908985d33a9419405767614407232757389fc8b1c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agent/permission/policy.py: agent/permission/policy.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in policy._check_bash_workspace_write at line 869. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/permission/policy.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/permission/policy.py"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6f4eb1ea0343cc47129ddc85f6001229402a01a16c222a7b5ff6a79dd1a74a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: skills/image-generation/scripts/generate.py: skills/image-generation/scripts/generate.py changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in LinkAIProvider.generate at line 427. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- skills/image-generation/scripts/generate.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/image-generation/scripts/generate.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"976ba6649b04a515e9584c1d65fb9440e3da75ead3b37dadf801e648499e79e6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agent/tools/read/read.py: agent/tools/read/read.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Read.execute at line 166. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/tools/read/read.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/read/read.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8cf8d3bf9fc2a7aaf98e41edfbaac2569f9458f5035c1ffb573d823dbfb9039"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agent/prompt/builder.py: agent/prompt/builder.py changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in builder._build_runtime_section at line 1067. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/prompt/builder.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/prompt/builder.py"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1dcbe3a1970b50121ae094ff80d7f8e51bd18a089df1fe0309771cb13c20ee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: models/deepseek/deepseek_bot.py: models/deepseek/deepseek_bot.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in DeepSeekBot._handle_stream_response at line 331. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- models/deepseek/deepseek_bot.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/deepseek/deepseek_bot.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"f308fb3a1c72e7ba4c280a752f5b9c61858d7f519979b6948e896bd8a7df57fc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/pages/settings/CapabilityCard.tsx: desktop/src/renderer/src/pages/settings/CapabilityCard.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in CapabilityCard.CapabilityCard at line 32. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/pages/settings/CapabilityCard.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":"desktop/src/renderer/src/pages/settings/CapabilityCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc9f63d737bf58d5de8a620c3423d595be65d5d2de10146a6e0b85d2c6e0162"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/qq/qq_message.py: channel/qq/qq_message.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in QQMessage.__init__ at line 64. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/qq/qq_message.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/qq/qq_message.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3c19fdf2112d712645fe359df9bf7f65c28d3f202c197590580030d352ea8f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agent/protocol/message_utils.py: agent/protocol/message_utils.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in message_utils.sanitize_claude_messages 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/protocol/message_utils.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/message_utils.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f69a5a56ca708f83bf08f3ab9005450df88d049d98e90e031aa0cb9fa6f4177"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/store/workspaceStore.ts: desktop/src/renderer/src/store/workspaceStore.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 72 in workspaceStore.useWorkspaceStore 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/store/workspaceStore.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":"desktop/src/renderer/src/store/workspaceStore.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"f082d557b3786c9d717239c7e1f03a7f7ffb06f8a657ea97cb194f29e6a9845c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/web/static/js/chat/state.js: channel/web/static/js/chat/state.js changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in state.messagesDiv.addEventListener(\u0022click\u0022) at line 546. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/web/static/js/chat/state.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":"channel/web/static/js/chat/state.js"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4e9a9db4d2c444a975402c518df0053d43e97abd96bd019436d47224e3eff4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: models/reasoning_capabilities.py: models/reasoning_capabilities.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in reasoning_capabilities.get_reasoning_capability 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- models/reasoning_capabilities.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/reasoning_capabilities.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67ac2866c7308ec3773f559ac6b0c4fa1cb1eb5627ae320fb42480d8815a28b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/pages/settings/primitives.tsx: desktop/src/renderer/src/pages/settings/primitives.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in primitives.Dropdown at line 131. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/pages/settings/primitives.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":"desktop/src/renderer/src/pages/settings/primitives.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7608b15fa62d70d0de401474d36f3d819aed6a8701350a5df865f07995f16ee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/wechatmp/passive_reply.py: channel/wechatmp/passive_reply.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in Query.POST at line 23. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/wechatmp/passive_reply.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/wechatmp/passive_reply.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f409fd0fea665dabcc053accb482d0d091c935a51469c9acdcb7249dc6e0ce"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/web/api/channels.py: channel/web/api/channels.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in ChannelsHandler._channel_instances_view at line 217. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/web/api/channels.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/channels.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb37d490086bfa5c00953dd2effa8ddbf2d456fb0a582d080b7651e2e199d69"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/slack/slack_channel.py: channel/slack/slack_channel.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in SlackChannel._do_send at line 470. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/slack/slack_channel.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/slack/slack_channel.py"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5041725031c09a8c27295cdcb5eb59a4668b0f14392763e9498836947397f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/web/static/js/views/skills.js: channel/web/static/js/views/skills.js changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in skills.renderSkillFilesTree at line 1646. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/web/static/js/views/skills.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":"channel/web/static/js/views/skills.js"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fff5f54303c083eb3f8922a65ddbc12285ba0c61ce316ee4d7a0134edd372d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: models/moonshot/moonshot_bot.py: models/moonshot/moonshot_bot.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in MoonshotBot._handle_stream_response at line 334. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- models/moonshot/moonshot_bot.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/moonshot/moonshot_bot.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"64dfbfe9215680901dee68dd835a66d24080d4605e2e1867da44f41b984c9334"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/components/ModelSelector.tsx: desktop/src/renderer/src/components/ModelSelector.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in ModelSelector.CatalogModelSelector at line 16. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/components/ModelSelector.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":"desktop/src/renderer/src/components/ModelSelector.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f105c1c60a1be4fa2fe94190d55e4d58205cd8e9ca60ee57fdd356208ff7bbfc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agent/memory/summarizer.py: agent/memory/summarizer.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in MemoryFlushManager.deep_dream at line 511. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/memory/summarizer.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/summarizer.py"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03abcfa00466b119689013a76c27849dae54336690c7bd1fd51ef5175abdab1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/channel_instances.py: channel/channel_instances.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in channel_instances.upsert_instance 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/channel_instances.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/channel_instances.py"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae96202cdc574f3ec42218941e5e4fee22a6102e6ea6c4da68ce9efa348eb00"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/python-manager.ts: desktop/src/main/python-manager.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in PythonBackend.start at line 699. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/main/python-manager.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":"desktop/src/main/python-manager.ts"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2a5b5633666edecca640f263db9e596ffb16def9abec423f034d4a3d571ec3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: models/doubao/doubao_bot.py: models/doubao/doubao_bot.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in DoubaoBot._handle_stream_response at line 285. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- models/doubao/doubao_bot.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/doubao/doubao_bot.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b05ed7e02559662be885ea5664dced3ca39d1d22be4974850ec86da48663c19"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/components/MessageSteps.tsx: desktop/src/renderer/src/components/MessageSteps.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in MessageSteps.ToolStep at line 113. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/components/MessageSteps.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":"desktop/src/renderer/src/components/MessageSteps.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed2a06d5da2fa9c523138b4882feb2e813149862de2fbf4c82126661553092e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/web/static/js/core/nav.js: channel/web/static/js/core/nav.js changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in nav.navigateTo at line 194. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/web/static/js/core/nav.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":"channel/web/static/js/core/nav.js"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8974a7e5e26a9df166baae74073d9d54190484b1be45fdc17ec8ba2347d798"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/dingtalk/dingtalk_message.py: channel/dingtalk/dingtalk_message.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in DingTalkMessage.__init__ 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/dingtalk/dingtalk_message.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_message.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0527f3fbf42a68718a8c8b266158009535c4f60bb1fcc1003a242972b830f6d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/pages/TasksPage.tsx: desktop/src/renderer/src/pages/TasksPage.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in TasksPage.TaskEditModal at line 1168. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/pages/TasksPage.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":"desktop/src/renderer/src/pages/TasksPage.tsx"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"091b8a785aeacd14af3904748ec3ba20aeaae7f8b7ef866c0230ab6e1892f7e3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/components/QrScanPanel.tsx: desktop/src/renderer/src/components/QrScanPanel.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 82 in QrScanPanel.QrScanPanel at line 32. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/components/QrScanPanel.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":"desktop/src/renderer/src/components/QrScanPanel.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a64e9c9dbe5f368eaae242213739fb27a7a69934608b0401300b96a5175080"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: models/mimo/mimo_bot.py: models/mimo/mimo_bot.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in MimoBot._handle_stream_response at line 323. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- models/mimo/mimo_bot.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/mimo/mimo_bot.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb65bf2dc89f0c8480b15d1f6d645e1651ae33b0714b12dd337247b70128f0f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/components/ContextUsagePopover.tsx: desktop/src/renderer/src/components/ContextUsagePopover.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in ContextUsagePopover.ContextUsagePopover 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/components/ContextUsagePopover.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":"desktop/src/renderer/src/components/ContextUsagePopover.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f1574356c2ee62f68beddff65ca6515158c62831f3506029b982690724be6f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: models/model_catalog.py: models/model_catalog.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in model_catalog.normalize_entry at line 73. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- models/model_catalog.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/model_catalog.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee43564b465bfcf6bb767dc3597b0a89a1a44fe93da033bbe3ec9425d3af025b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/web/api/workspace.py: channel/web/api/workspace.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in WorkspaceResolveHandler.GET 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/web/api/workspace.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/workspace.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1deb1c26da4bc216ac1d08bae00c338bb776b5035107a756c177f65126175e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: models/openai/responses_adapter.py: models/openai/responses_adapter.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in responses_adapter.responses_to_chat_completion at line 283. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- models/openai/responses_adapter.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/openai/responses_adapter.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"f989f4e98cc23dd184dd87ccbb97eaa8d948e502f76d2688dbfdb4cc470e21f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: models/chatgpt/chat_gpt_bot.py: models/chatgpt/chat_gpt_bot.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ChatGPTBot.reply_image 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- models/chatgpt/chat_gpt_bot.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/chatgpt/chat_gpt_bot.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"66cfc9f266e3a6400b091054e107d2684047930462070af54766ca4b81ab86b4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/components/AgentAvatar.tsx: desktop/src/renderer/src/components/AgentAvatar.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in AgentAvatar.AgentAvatar 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/components/AgentAvatar.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":"desktop/src/renderer/src/components/AgentAvatar.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90147f83829b23701887b4b9ca17686aa05c9a7e57d7943223243f5077420b9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: models/dashscope/dashscope_bot.py: models/dashscope/dashscope_bot.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in DashscopeBot._convert_messages_to_dashscope_format at line 643. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- models/dashscope/dashscope_bot.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/dashscope/dashscope_bot.py"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74de5882296c4c6b863129a2879dce48f81985174063fe110550f3ac962157e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: plugins/role/role.py: plugins/role/role.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in Role.on_handle_context at line 131. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- plugins/role/role.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/role/role.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"716b9a921058c046baa7dfd7535e652c3c8f31f2843418dc01d325ff12f19c89"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agent/tools/write/write.py: agent/tools/write/write.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in Write.execute 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/tools/write/write.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/write/write.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b45407e11af9c6fb4af360264dd429c05e991e1758784a58dad16ee1229203"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/components/WorkspacePanel.tsx: desktop/src/renderer/src/components/WorkspacePanel.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in WorkspacePanel.WorkspacePanel at line 51. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/components/WorkspacePanel.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":"desktop/src/renderer/src/components/WorkspacePanel.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0976e89c6a3e69fc93d02ee98fad060821898930aadfaf2b2ce1a4d679c79785"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agent/tools/env_config/env_config.py: agent/tools/env_config/env_config.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in EnvConfig.execute at line 159. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/tools/env_config/env_config.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/env_config/env_config.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4ccbfbf6ec66a1dbe0a2f4107e2744684cbbba43aac869b72e5187d8b0ee96"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/channel_factory.py: channel/channel_factory.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in channel_factory._build_channel at line 54. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/channel_factory.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/channel_factory.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba81069096258f5627d5d7f73ee47b90dfb4098d9aa61abc1da2b81fe679c0bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agent/registry.py: agent/registry.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in AgentRegistry.from_config at line 195. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/registry.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/registry.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc21f8264ec8bda216a16380bb9069ada786d28cef0b2c6ab031d0c3e3df2dce"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: voice/minimax/minimax_voice.py: voice/minimax/minimax_voice.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in MinimaxVoice.textToVoice at line 29. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- voice/minimax/minimax_voice.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"voice/minimax/minimax_voice.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"444d8c83c3a7bc020be99d00d70593d883b300e7ace09b6c5b14069159a1a6c5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/web/static/js/views/channels.js: channel/web/static/js/views/channels.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in channels.renderActiveChannels 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/web/static/js/views/channels.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":"channel/web/static/js/views/channels.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e07a5e68faa99677c0f93d035ffcecd10e03fd0647929aa2866217f06fa4b1a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: models/openai_compatible_bot.py: models/openai_compatible_bot.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in OpenAICompatibleBot.call_with_tools at line 70. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- models/openai_compatible_bot.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/openai_compatible_bot.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e747c97ae3aa7c17158e5afdb27eff6f8eecb04bb9830fbf2f85d0a374dd056"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/web/static/js/views/knowledge.js: channel/web/static/js/views/knowledge.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in knowledge.loadKnowledgeView 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/web/static/js/views/knowledge.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":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"874d7d9b2584eb92a254897461b95014e707fdd105bd3fbde42c782da03d75df"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/commands/install.py: cli/commands/install.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in install.run_install_browser at line 196. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- cli/commands/install.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/install.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6cb121ef0545ee3611dc90d3db3cade12f7d339d0cdafb93a1bb3ba8dba43ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agent/subagent/runner.py: agent/subagent/runner.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in runner.run_tasks at line 268. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/subagent/runner.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/subagent/runner.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd057246c11fabf75cea9d1057e82cf122b8c85db13f9b613e29dbce7f73c2e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/web/static/js/chat/context-usage.js: channel/web/static/js/chat/context-usage.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in context-usage.installContextUsagePopover at line 157. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/web/static/js/chat/context-usage.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":"channel/web/static/js/chat/context-usage.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"534a0452db306b72e6872b9040837067ed2c4d83ca1aa35e193d4027129cf05b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/store/agentStore.ts: desktop/src/renderer/src/store/agentStore.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in agentStore.useAgentStore at line 91. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/store/agentStore.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":"desktop/src/renderer/src/store/agentStore.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d455308647043c6294ea7d0d83fc319231b4591a13ad8bfa329fc9a54cc4f4e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agent/memory/embedding/factory.py: agent/memory/embedding/factory.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in factory._init_explicit_provider at line 100. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/memory/embedding/factory.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/embedding/factory.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4785a34cd38f57d04b28a2ec76154dad6a351c27345fe6dddaec047bb30ea9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/app-icon.ts: desktop/src/main/app-icon.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in app-icon.sweepWindowsShortcuts at line 394. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/main/app-icon.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":"desktop/src/main/app-icon.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8b67af93f628c5669b0ab6690f218cb86fa7f3504cb4907270faa2d18ff067"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/pages/MemoryPage.tsx: desktop/src/renderer/src/pages/MemoryPage.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in MemoryPage.MemoryPage 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/pages/MemoryPage.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":"desktop/src/renderer/src/pages/MemoryPage.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae3c375ee68ab3afa0df3c69bb7b18dfa6fb095d190536e004b84afbfb94a6a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/wecom_bot/wecom_bot_message.py: channel/wecom_bot/wecom_bot_message.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in WecomBotMessage.__init__ 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/wecom_bot/wecom_bot_message.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/wecom_bot/wecom_bot_message.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1f6b7cec24d7d97a85972b3e25b2ab29dbc75afc8324b0aa04a4ea3fb16262"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/web/api/integrations.py: channel/web/api/integrations.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in IntegrationsHandler.PUT 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/web/api/integrations.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/integrations.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4af75c952fc4c5b32495a7018248cd31777573f295294181fe9953561dbff8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: models/zhipuai/zhipuai_bot.py: models/zhipuai/zhipuai_bot.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in ZHIPUAIBot._handle_stream_response at line 379. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- models/zhipuai/zhipuai_bot.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/zhipuai/zhipuai_bot.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"44755482b5d7858b21193d85bcf0482be77ab133bc3e941efaa88ca697b5c340"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/web/static/js/core/markdown.js: channel/web/static/js/core/markdown.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in markdown.createMd 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/web/static/js/core/markdown.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":"channel/web/static/js/core/markdown.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0325228bce8108bbecacf81c9dc5e953d9e964294b71ca98336a5cea0935e94b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/pages/settings/ChatFallbackCard.tsx: desktop/src/renderer/src/pages/settings/ChatFallbackCard.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ChatFallbackCard.ChatFallbackModal at line 206. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/pages/settings/ChatFallbackCard.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":"desktop/src/renderer/src/pages/settings/ChatFallbackCard.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"de816b7f4a7858f27939c039813cd17e9a642ae044c337d7d0258547cedca56c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agent/tools/send/send.py: agent/tools/send/send.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Send.execute 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/tools/send/send.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/send/send.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4da13d71631214f9ca1136d797dadb36f6dfcfab17aff1f8ab5b04aa97328a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agent/skills/loader.py: agent/skills/loader.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in SkillLoader._load_skill_from_file 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/skills/loader.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/skills/loader.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac335a2b33c4ed7ae27c9bccd6cd678ac23d21d0492683377a91c7d0ce1fc18"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/store/sessionSettingsStore.ts: desktop/src/renderer/src/store/sessionSettingsStore.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in sessionSettingsStore.useSessionSettingsStore 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/store/sessionSettingsStore.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":"desktop/src/renderer/src/store/sessionSettingsStore.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe69c4d29f93ae065989753a018f2c09283b6db3577b16fef3ed9762434ba7fb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/web/static/js/chat/session-settings.js: channel/web/static/js/chat/session-settings.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in session-settings.renderModelMenu at line 230. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/web/static/js/chat/session-settings.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":"channel/web/static/js/chat/session-settings.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b0bc6299875397ce3b2741c68567469fe22f06519a076c2c13521ba386d023"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/renderer/src/components/AgentScopeSelect.tsx: desktop/src/renderer/src/components/AgentScopeSelect.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in AgentScopeSelect.AgentScopeSelect at line 26. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/components/AgentScopeSelect.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":"desktop/src/renderer/src/components/AgentScopeSelect.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c0fbab270d7b9ae48b668b66fea9455ae14f5eaf72fe8df42829e69e10369b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: channel/web/static/js/views/artifacts.js: channel/web/static/js/views/artifacts.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in artifacts._artRenderPreviewChrome at line 747. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/web/static/js/views/artifacts.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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdba8f571e949c18fbb97ce3f5a0552441f32850cd70ead934aa12a497acf553"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agent/tools/ls/ls.py: agent/tools/ls/ls.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in Ls.execute at line 52. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/tools/ls/ls.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/ls/ls.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc54da5440f84c418723ec840a11914efeaa022fa86c7fd78b52859ec4ba7ed7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: channel/wecom_bot/wecom_bot_channel.py: channel/wecom_bot/wecom_bot_channel.py changed 18 times in last 90 days and 15 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 WecomBotChannel._build_context at line 639), 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(wecom_bot): reconnect in the worker loop instead of nesting threads\u201D; \u201Cfix: bake EXIF orientation into re-saved WeCom images\u201D; \u201Cfix: keep original file name when sending files on more channels\u201D; \u201Cfix: atomically filter repeated WeCom callbacks\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/wecom_bot/wecom_bot_channel.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/wecom_bot/wecom_bot_channel.py"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a97c3792e206833f678d076b75a0e1048105cbeed03497fbdb86455a7f11df"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: channel/web/core/_common.py: channel/web/core/_common.py changed 21 times in last 90 days and 13 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 _common._read_uploaded_file_bytes at line 649), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web): serialize channel config writes with the settings save\u201D; \u201Cfix(web): serve artifacts from registered agent workspaces\u201D; \u201Cfix: share the @mention boundary across matcher, stripping, web and desktop\u201D; \u201Cfix(team): treat sentence-ending punctuation as an @mention boundary\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/web/core/_common.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/_common.py"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"870fb8618ddf8ba0c54d1da297516f37dd4756db382565668ae27ac6a4bbdb47"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: common/utils.py: common/utils.py changed 17 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is utils._remove_bold at line 102), 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(channels): stop WeCom and WeChat text replies losing the ** in code and formulas\u201D; \u201Cfix(images): preserve EXIF display orientation during compression\u201D; \u201Cfix(common): reject UTF-8 split budgets that cannot make progress\u201D; \u201Cfix(logs): preserve lines between replay and live tail\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- common/utils.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/utils.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"27bc50b861c817d5324a1c8e029b9dd04d66c53b6a8e9d6bfeb3a22390d861f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: agent/tools/scheduler/task_store.py: agent/tools/scheduler/task_store.py changed 14 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 7 (its worst body is TaskStore.load_tasks at line 83), 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(scheduler): preserve edits made during task execution\u201D; \u201Cfix(scheduler): preserve unrecoverable stores when adding tasks\u201D; \u201Cfix(scheduler): retain valid backup when primary repair fails\u201D; \u201Cfix(scheduler): allow task stores in the current directory\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/tools/scheduler/task_store.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/task_store.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb64cec7c165d1207f85092d3ca498905e16571190243d2fa23394b03b6866e4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: voice/openai/openai_voice.py: voice/openai/openai_voice.py changed 9 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 7 (its worst body is OpenaiVoice.voiceToText 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(voice): reject non-string transcription payloads\u201D; \u201Cfix(voice): normalize OpenAI audio endpoint trailing slashes\u201D; \u201Cfix: trim repeated comments around the bounded downloads\u201D; \u201Cfix(voice): bound every TTS/download path through one shared 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- voice/openai/openai_voice.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"voice/openai/openai_voice.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc83bb4decc9a37bd7725aabd41923e6727fcfdd9f25eb8ca828af1f75ba070"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: cli/commands/process.py: cli/commands/process.py changed 12 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 10 (its worst body is process.start at line 119), 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(cli): log and abort when the restart self-check times out\u201D; \u201Cfix(cli): bound every subprocess the service lifecycle commands run\u201D; \u201Cfix: keep the channel list annotation compatible with Python 3.7\u201D; \u201Cfix(cli): preserve stdin for mixed terminal channels\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- cli/commands/process.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/process.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0cc7cfa4b98a6c96a2140c661ee9fb4e77728b6886624c69f2fff095b13eb77"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: agent/memory/storage.py: agent/memory/storage.py changed 12 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 12 (its worst body is MemoryStorage._init_db at line 342), 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: replace the legacy FTS triggers without forcing a full rebuild\u201D; \u201Cfix: synchronize external-content search indexes\u201D; \u201Cfix(memory): preserve Unicode words in keyword searches\u201D; \u201Cfix(memory): fall back to LIKE search when FTS5 returns nothing\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/memory/storage.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/storage.py"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abc9d6b1bdae20419f8718004486a1468c9879e8b5ebee593e2f3b648b3d33c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: agent/tools/utils/url_safety.py: agent/tools/utils/url_safety.py changed 9 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 13 (its worst body is url_safety.validate_url_safe at line 118), 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(ssrf): block the shared address space in the SSRF guard\u201D; \u201Cfix: trust allowlisted hosts by name in the strict URL guard\u201D; \u201Cfix: guard DingTalk reply media through the shared download and the SSRF switch\u201D; \u201Cfix: guard reply media through the shared download and the SSRF switch\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/tools/utils/url_safety.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/utils/url_safety.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc989d003f32436dcbb2d31e76fa98ccbaeeea1ab5b21c50e60e7fae39200403"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: common/office_text.py: common/office_text.py 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 9 (its worst body is office_text._iter_docx_blocks at line 20), 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(documents): preserve displayed Word simple-field results\u201D; \u201Cfix: preserve inline Word content control values\u201D; \u201Cfix: retain block content controls in Word document extraction\u201D; \u201Cfix: read merged Word table cells once\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- common/office_text.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/office_text.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3892f4eec1ce684d7d8233af80aab49c65bb239693b984955cd990f6f2ec2533"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: agent/chat/session_service.py: agent/chat/session_service.py changed 10 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 14 (its worst body is session_service._assemble_optimize_prompt at line 141), 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: make session title generation survive model failures and session switches\u201D; \u201Cfix: share media temp-file helpers and trim verbose comments\u201D; \u201Cfix: read the team roster before the delete drops it, and fan out from the web too\u201D; \u201Cfix: keep the cross-agent session listing uncapped\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/chat/session_service.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/chat/session_service.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1fb968acea4b2ca727c121fc155c8e73e833ffd959aa6401ed9faa29b18c8b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: voice/linkai/linkai_voice.py: voice/linkai/linkai_voice.py changed 8 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 10 (its worst body is LinkAIVoice.voiceToText at line 23), 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(voice): reject a non-string transcript in the linkai asr provider\u201D; \u201Cfix: trim repeated comments around the bounded downloads\u201D; \u201Cfix(voice): bound every TTS/download path through one shared helper\u201D; \u201Cfix(linkai_voice): return an ERROR reply on ASR/TTS failure instead of None\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- voice/linkai/linkai_voice.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"voice/linkai/linkai_voice.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"14765d434fd4ca6f534e3263914a38d641af7711a4fde43a64f417ce1e569161"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: cli/utils.py: cli/utils.py changed 8 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 6 (its worst body is utils._skill_hub_setting at line 119), 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: run chat skill commands on the current agent\u0027s own skills\u201D; \u201Cfix(cli): ignore JSON configuration with a non-object root\u201D; \u201Cfix(cli): share canonical duplicate configuration parsing\u201D; \u201Cfix: keep the test suite out of the real home directory\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- cli/utils.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/utils.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e5a7475c3e3916630969b53ac36678a0510171d7c3f11e21c2b4f998ad5c29"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: channel/feishu/feishu_static_card.py: channel/feishu/feishu_static_card.py 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 12 (its worst body is feishu_static_card.download_public_image at line 136), 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: detect Lark through the ws endpoint and match the domain error by code\u201D; \u201CFix Feishu and Lark websocket domain selection\u201D; \u201Cfix(feishu): reuse the shared SSRF rule for Markdown image URLs\u201D; \u201Cfix: guard Feishu image URLs through the shared download and the SSRF switch\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/feishu/feishu_static_card.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_static_card.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85426c776284438bd3f2d5adc34196509de513516dae3786aba450d0092e6b0"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: channel/weixin/weixin_api.py: channel/weixin/weixin_api.py 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 12 (its worst body is weixin_api.upload_media_to_cdn at line 407), 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: escalate weixin long-poll backoff and stop log flooding\u201D; \u201Cfix: improve weixin QR login reliability\u201D; \u201Cfix(weixin): close rejected CDN media responses\u201D; \u201Cfix(weixin): keep the plaintext when the last byte decrypts to zero\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/weixin/weixin_api.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/weixin/weixin_api.py"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"6828028fcbbfcde8610cc1343afb76db375a7c7f4b8cd1ad22275b6f6e256782"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: agent/evolution/backup.py: agent/evolution/backup.py 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 15 (its worst body is backup.restore_backup 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(evolution): keep backup ids short and retry on a taken directory\u201D; \u201Cfix(evolution): give each undo snapshot a unique directory\u201D; \u201Cfix: share media temp-file helpers and trim verbose comments\u201D; \u201Cfix(evolution): stop a failed backup from costing an undo slot\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/evolution/backup.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/evolution/backup.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"f295f9b9029c2d937ae950c77a541606f203a549610feab08da6c6bdfaa50706"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: common/media_download.py: common/media_download.py 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 7 (its worst body is media_download._open at line 110), 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: share media temp-file helpers and trim verbose comments\u201D; \u201Cfix: guard Feishu image URLs through the shared download and the SSRF switch\u201D; \u201Cfix: guard DingTalk reply media through the shared download and the SSRF switch\u201D; \u201Cfix: guard reply media through the shared download and the SSRF switch\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- common/media_download.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/media_download.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"327cdd44e36ee83b0fbd3e2cf5a7744c4dab0fcf436427d1d658f606c84ffd05"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: plugins/plugin_manager.py: plugins/plugin_manager.py 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 13 (its worst body is PluginManager.scan_plugins at line 182), 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(plugins): decide what counts as a new plugin by name, not by class\u201D; \u201Cfix(plugins): keep a plugin\u0027s configuration when reloading it\u201D; \u201Cfix: trim redundant comments after batch-4 merges\u201D; \u201Cfix(plugins): do not register the same listener twice when a plugin is re-enabled\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- plugins/plugin_manager.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/plugin_manager.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea03e7950f3e21e1e0227bd30b878c042a58868725aa136d17b60257508e4b14"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: cli/update_service.py: cli/update_service.py 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 13 (its worst body is update_service.apply_source_update at line 387), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(update): bound every subprocess the web one-click update runs\u201D; \u201Cfix(cli): bootstrap atomic status writer after CLI import\u201D; \u201Cfix(cli): write the web update status atomically\u201D; \u201Cfix(update): tolerate a corrupt worker_pid in the in-progress guard\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- cli/update_service.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/update_service.py"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"9770ad210642f744ad66882db9d6c08392f40cc90a0682925bee82650c5e668b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: agent/tools/scheduler/scheduler_service.py: agent/tools/scheduler/scheduler_service.py changed 6 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 SchedulerService._check_and_execute_tasks at line 124), 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(scheduler): run occurrences that came due while a task was running\u201D; \u201Cfix(scheduler): preserve edits made during task execution\u201D; \u201Cfix(scheduler): wake stopped workers without reviving old generations\u201D; \u201Cfix: compare reference_now (not naive now) for zoned task due-state\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/tools/scheduler/scheduler_service.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/scheduler_service.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe0772f3831847fb33cb8fed32a3a3fb44aa929332c804e70c706524d58cb2f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: agent/skills/manager.py: agent/skills/manager.py 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 13 (its worst body is SkillManager._sync_skills_config at line 211), 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: simplify enabled-state rollback in set_skill_enabled\u201D; \u201Cfix(skills): report failed enable/disable and restore the previous choice\u201D; \u201Cfix(skills): preserve runtime choices in BOM configs\u201D; \u201Cfix(skills): isolate malformed persisted config entries\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/skills/manager.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/skills/manager.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"4098003aee3120604ad68508d8b3c3b919344479fef431e899d5276fd5ff1751"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: agent/memory/chunker.py: agent/memory/chunker.py 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 11 (its worst body is TextChunker.chunk_text 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: give hard-split line pieces a distinct chunk id\u201D; \u201Cfix: trim redundant comments after batch-4 merges\u201D; \u201Cfix(memory): keep line chunks within their character budget\u201D; \u201Cfix(memory): index markdown preface text and stop duplicating skipped-level sections\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/memory/chunker.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/chunker.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a82ef6a52fded2fa9160536c37f0ed50e58c92bbe850d577b72d85d5447f929"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: voice/custom/custom_voice.py: voice/custom/custom_voice.py 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 8 (its worst body is CustomVoice.voiceToText at line 73), 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(voice): reject non-string transcription payloads\u201D; \u201Cfix: trim repeated comments around the bounded downloads\u201D; \u201Cfix(voice): bound every TTS/download path through one shared helper\u201D; \u201Cfix(voice): bound every outbound request so a stalled provider cannot hang the turn\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- voice/custom/custom_voice.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"voice/custom/custom_voice.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3905dbdf85f675231ab5256a7517e13e34f94f41df20d5b6edd490efdefd75cf"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: plugins/keyword/keyword.py: plugins/keyword/keyword.py changed 6 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 Keyword.on_handle_context at line 51), 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(keyword): retain distinct downloaded document replies\u201D; \u201Cfix: read user-edited config files as utf-8-sig (BOM tolerance)\u201D; \u201Cfix(keyword): bound and check the keyword file download\u201D; \u201Cfix: download reply attachments into the agent tmp dir, not a CWD tmp\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- plugins/keyword/keyword.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/keyword/keyword.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9693264b06afe3e395eda159b0397358160a02f655376ea0e5f38f7aec5e3eb"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: agent/prompt/workspace.py: agent/prompt/workspace.py changed 6 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 11 (its worst body is workspace.load_context_files 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(agent): avoid overwriting profiles during concurrent initialization\u201D; \u201Cfix(agent): keep onboarding pending for empty profile files\u201D; \u201Cfix: detect onboarding completion by placeholders instead of exact template match\u201D; \u201Cfix(prompt): keep MEMORY.md\u0027s newest entries when trimming it to the byte cap\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/prompt/workspace.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/prompt/workspace.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b402127fbe2db55409a3ee347a6d8bd681b839d4fdc302d078caefe1a5fced"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: common/atomic_write.py: common/atomic_write.py changed 5 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 atomic_write._replace at line 37), 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: encode fallback writes before truncating existing files\u201D; \u201Cfix(tools): refuse special-file targets before reading or replacing them\u201D; \u201Cfix: stage atomic writes with the target\u0027s own mode\u201D; \u201Cfix(storage): keep atomic staging files private while writing\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- common/atomic_write.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/atomic_write.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac397cde03aef310d5fa78c0825a365d12adfb36c17f9510509dce2d60a7c1c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: voice/ali/ali_api.py: voice/ali/ali_api.py changed 5 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 7 (its worst body is ali_api.speech_to_text_aliyun at line 69), 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: use unique tts output filenames for the remaining voice vendors\u201D; \u201Cfix(voice): fetch the Aliyun NLS token over https\u201D; \u201Cfix: trim repeated comments around the bounded downloads\u201D; \u201Cfix(voice): bound every TTS/download path through one shared 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- voice/ali/ali_api.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"voice/ali/ali_api.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1282b7decad4fb261e9a30f9e9003bd00e9ff059eecff41ebb7cbb46634e6f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: channel/file_cache.py: channel/file_cache.py changed 5 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 4 (its worst body is FileCache.add at line 25), 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: retain concurrently cached first attachments\u201D; \u201Cfix: back FileCache with ExpiredDict\u201D; \u201Cfix(channel): sweep expired file-cache batches on write\u201D; \u201Cfix(channel): start a fresh attachment batch after cache expiry\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/file_cache.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/file_cache.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"646525a8cc1df0cdbc6f8f8b589db29d553266790341c9f6cb7c1384d6ba5360"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: models/baidu/baidu_wenxin.py: models/baidu/baidu_wenxin.py changed 5 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 9 (its worst body is BaiduWenxinBot.__init__ at line 16), 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: share scrub_secrets with the wechat_kf channel\u201D; \u201Cfix(baidu): read the wenxin credentials when the token is requested\u201D; \u201Cfix(baidu): mask the access token before it reaches the log or the user\u201D; \u201Cfix(models): bound every outbound request so a stalled backend cannot hang the turn\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- models/baidu/baidu_wenxin.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/baidu/baidu_wenxin.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba3ff8cff2530759644d578f88d0f6ab4ab3c5e026d1c89246f4f69d1bcf47f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: agent/tools/scheduler/time_utils.py: agent/tools/scheduler/time_utils.py changed 5 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 6 (its worst body is time_utils.next_cron_occurrence at line 170), 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: trim redundant comments after batch-4 merges\u201D; \u201Cfix(scheduler): reject a non-mapping schedule and stop task_timezone crashing on one\u201D; \u201Cfix: keep scheduler loadable on Python \u003C 3.9 without zoneinfo\u201D; \u201Cfix(scheduler): skip elapsed first-fold cron occurrences\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/tools/scheduler/time_utils.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/time_utils.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0392222899d6fefcca73ef9779bd3183b93f82e88a85b145fdcfbc18f86066"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: plugins/banwords/banwords.py: plugins/banwords/banwords.py 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 10 (its worst body is Banwords.__init__ at line 28), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: read user-edited config files as utf-8-sig (BOM tolerance)\u201D; \u201Cfix(plugins): write the repaired plugin config through a sibling file\u201D; \u201Cfix(plugins): keep a plugin running when its config cannot be written back\u201D; \u201Cfix(plugins): start a plugin whose config is empty or partial\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- plugins/banwords/banwords.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/banwords/banwords.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa45436284d38f55920c89a712bf88405f1571784f3fa134858da6f7d539ca38"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: agent/skills/frontmatter.py: agent/skills/frontmatter.py 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 frontmatter.parse_frontmatter at line 20), 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: keep numeric skill metadata flags truthy as before\u201D; \u201Cfix(skills): normalize metadata boolean flags\u201D; \u201Cfix(skills): recognize UTF-8 BOM before frontmatter\u201D; \u201Cfix(skills): read a non-string install kind as unset instead of raising\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/skills/frontmatter.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/skills/frontmatter.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9142244fa7f3575dfa13457cd2c7f464bed5dcf9cbcd57ba468983964d2f9a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: agent/tools/browser/browser_tool.py: agent/tools/browser/browser_tool.py 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 9 (its worst body is BrowserTool._check_memory_budget at line 199), 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: mention snapshot scoping in the browser selector description\u201D; \u201Cfix(browser): require explicit text before filling inputs\u201D; \u201Cfix(browser): accept explicitly empty option values\u201D; \u201Cfix(browser): read scroll distance from amount, not the timeout field\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/tools/browser/browser_tool.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/browser/browser_tool.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"284f029aba7b6fda024b8d9e0c247f70fd576f393456f9fbbbdca445d8de129a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: agent/subagent/templates.py: agent/subagent/templates.py 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 9 (its worst body is templates.load_templates at line 170), 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(subagent): report a non-string type instead of crashing, and survive an unlistable templates dir\u201D; \u201Cfix: narrow subagent delegation and wrap up before timeout\u201D; \u201Cfix(subagent): skip undecodable user templates\u201D; \u201Cfix: keep the date in the system prompt and rename the time tool\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/subagent/templates.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/subagent/templates.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1a1e69f3ab9a0bd5bbaace41450176d8c500e8ec996d1cda71f5f0376b3d78"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: agent/workspace/project_store.py: agent/workspace/project_store.py 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 10 (its worst body is project_store.delete_project at line 285), 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(workspace): report failed project and session preference saves\u201D; \u201Cfix(projects): preserve literal workspace path identities\u201D; \u201Cfix(workspace): check the stored shapes in project_store, not just their absence\u201D; \u201Cfix(admin): sweep the project store when an Agent is deleted\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/workspace/project_store.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/workspace/project_store.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"0301c50be9cc856f8bc1a508a5ccc8fa1e7656c31880b8940d3440ab52ed97ce"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: agent/team.py: agent/team.py 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 8 (its worst body is team.adopt_legacy_channels at line 186), 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: keep the test suite out of the real home directory\u201D; \u201Cfix(team): write config.json atomically when retiring the legacy roster\u201D; \u201Cfix: carry a legacy weixin channel into the roster file\u201D; \u201Cfix(desktop): always show the built-in default Agent on the team 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/team.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/team.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"451ee6e5c673607e63884883965aa221a2b50e02b967fbc8a94a5928f5e22c30"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: desktop/src/renderer/src/components/Markdown.tsx: desktop/src/renderer/src/components/Markdown.tsx 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 14 (its worst body is Markdown.Markdown at line 232), 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: render agent-embedded images for non-default agents on web and desktop\u201D; \u201Cfix(desktop): align inset colors, dropdown flip and table overflow with the web console\u201D; \u201Cfix: restore leading slash in knowledge doc image path resolution\u201D; \u201Cfix: display local-path and knowledge-doc images; add desktop image lightbox\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- desktop/src/renderer/src/components/Markdown.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":"desktop/src/renderer/src/components/Markdown.tsx"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b29646683bd2dd912444f4e348a70f24eb757b63007d75d7c67ab685e3e145"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: agent/tools/browser/chrome_launcher.py: agent/tools/browser/chrome_launcher.py 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 8 (its worst body is ChromeLauncher._profile_chrome_processes at line 117), 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): find the Chrome left on our profile on Windows so it is reused\u201D; \u201Cfix(browser): preserve full process arguments across terminal widths\u201D; \u201Cfix(browser): discover managed profiles from real process arguments\u201D; \u201Cfix(browser): give the win32 pid probe a timeout and an except\\n\\n_pid_alive runs on the terminate and adopt paths of the browser tool.\\nIts win32 branch called tasklist with neither a timeout nor an except,\\nwhile every other subprocess call in the same file has both: the posix\\nps probe passes timeout=5 and degrades to \u0022alive\u0022 on OSError, taskkill\\npasses timeout=10, and the profile scan passes timeout=5.\\n\\nTwo consequences on Windows, both with a deterministic test:/n/n- A hung tasklist (a known Windows failure under a corrupted process\\n  table or extreme load) blocked subprocess.run forever, wedging\\n  terminate/adopt and leaking the caller\u0027s thread.\\n- A missing or failing tasklist raised FileNotFoundError /\\n  SubprocessError out of _terminate_pid and out of the adopt check,\\n  where the posix branch would have answered \u0022alive\u0022.\\n\\nThe win32 branch now mirrors the posix posture: timeout=5, and a probe\\nthat cannot be completed degrades to \u0022alive\u0022 instead of raising.\\n\\nAdds tests/test_chrome_launcher_pid_alive.py: the probe passes a\\ntimeout, a hung tasklist and a missing tasklist both answer \u0022alive\u0022,\\na dead pid still answers \u0022not alive\u0022, and the posix branch keeps its\\ntimeout and zombie handling.\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/tools/browser/chrome_launcher.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/browser/chrome_launcher.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7c428acce36d2a6f907dfb1a9e1cdd104b9cc6f37e474128713d0ab767b42e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: agent/tools/memory/memory_get.py: agent/tools/memory/memory_get.py 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 MemoryGetTool.execute 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(tools): refuse special-file targets before reading or replacing them\u201D; \u201Cfix: convert integer tool arguments once in BaseTool.execute_tool\u201D; \u201Cfix(memory): apply the shared credential guard to memory reads\u201D; \u201Cfix(memory): let memory_get open the shared knowledge keys memory_search returns\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/tools/memory/memory_get.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/memory/memory_get.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"636e32a017e260fe96da31ddbc53440ecc39527fc93cb8d0bba5c04a33a88acc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: voice/pytts/pytts_voice.py: voice/pytts/pytts_voice.py 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 6 (its worst body is PyttsVoice.textToVoice at line 42), 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(voice): isolate output files for repeated identical speech\u201D; \u201Cfix: use f-string for the pytts timeout log message\u201D; \u201Cfix(voice): bound the pytts synthesis wait so a stuck engine cannot hang the turn\u201D; \u201Cfix(voice): drop return-in-finally so interrupts propagate from openai and pytts\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- voice/pytts/pytts_voice.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"voice/pytts/pytts_voice.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5a84cf54b4f1928c32bf838aa019791f38cf0d04b59d349ea03acf33946bf9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: channel/wechat_kf/wechat_kf_message.py: channel/wechat_kf/wechat_kf_message.py 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 5 (its worst body is WechatKfMessage.__init__ 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: share media temp-file helpers and trim verbose comments\u201D; \u201Cfix(wechat): do not cache an attachment the download never wrote\u201D; \u201Cfix(channels): stream every inbound media download through the same cap\u201D; \u201Cfix(wechat_kf): keep a server-supplied file name inside the tmp 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/wechat_kf/wechat_kf_message.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/wechat_kf/wechat_kf_message.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"904e3a460f969767c2fcb50922f1f303148036d7b59f3a8f597fd3f68f65db14"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: agent/team_addressing.py: agent/team_addressing.py changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is team_addressing.addressed_agent_id 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: share the @mention boundary across matcher, stripping, web and desktop\u201D; \u201Cfix(team): treat sentence-ending punctuation as an @mention boundary\u201D; \u201Cfix: resolve the default alias when building a team roster\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/team_addressing.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/team_addressing.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0fdbc67f033208c355a70c8976e51dcf2d46e713747924ead533fa80c629582"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: channel/web/api/logs.py: channel/web/api/logs.py 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 3 (its worst body is LogsDownloadHandler.GET at line 80), 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): resume live log streaming after file truncation\u201D; \u201Cfix(web): serialize log replay failures as valid SSE JSON\u201D; \u201Cfix(logs): preserve lines between replay and live tail\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/web/api/logs.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/logs.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"23706b625601ba0cb7989d55a58e75d0fe9eae7cc8abefe102b36dd01ac45e9a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: agent/workspace/session_prefs.py: agent/workspace/session_prefs.py changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is session_prefs.forget_agent at line 169), 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(workspace): report failed project and session preference saves\u201D; \u201Cfix(workspace): recover session preferences from non-object JSON\u201D; \u201Cfix: harden handling of references to deleted agents\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/workspace/session_prefs.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/workspace/session_prefs.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c7236755e38e153b38f4d7f28cd57698a0c3aba89e9eac3f0d1ee9d34621d5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: channel/wechatcom/wechatcomapp_client.py: channel/wechatcom/wechatcomapp_client.py 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 WechatComAppClient._refresh_once_if_needed 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(wechatcom): renew the access token on its real expiry, and stop the poller\u201D; \u201Cfix: keep git write flags checked after the read-only operand guards\u201D; \u201Cfix(wechatcom): keep the token refresh thread alive after a failed 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/wechatcom/wechatcomapp_client.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/wechatcom/wechatcomapp_client.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce85611577222044dd1b4ae2900ddc5e5340bd7010a85dc3ccd30373376d5fb"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: agent/tools/utils/diff.py: agent/tools/utils/diff.py 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 diff.looks_like_line_numbered_block at line 259), 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(edit): stop fuzzy edits adding blank lines around the replaced text\u201D; \u201Cfix(edit): retain fuzzy block indentation after outer newlines\u201D; \u201Cfix(edit): preserve carriage-return line separators\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- agent/tools/utils/diff.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/utils/diff.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2e526b2e4de66e53ec06b2f804d7313287d0bc7ddd08af24e0f8c615eff003"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: voice/baidu/baidu_voice.py: voice/baidu/baidu_voice.py 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 10 (its worst body is BaiduVoice._long_text_synthesis 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: use unique tts output filenames for the remaining voice vendors\u201D; \u201Cfix(voice): bound Baidu\u0027s long-text synthesis audio download\u201D; \u201Cfix(voice): bound every outbound request so a stalled provider cannot hang the turn\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- voice/baidu/baidu_voice.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"voice/baidu/baidu_voice.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86c783ca0c143037ad614843a2d58059df53d35f8b21c051801f21e14acc3dc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: voice/xunfei/xunfei_voice.py: voice/xunfei/xunfei_voice.py 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 2 (its worst body is XunfeiVoice.__init__ 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: use unique tts output filenames for the remaining voice vendors\u201D; \u201Cfix(voice): log the exception in the xunfei textToVoice error path\u201D; \u201Cfix(voice): stop printing the xunfei credentials on every bot reset\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- voice/xunfei/xunfei_voice.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"voice/xunfei/xunfei_voice.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce697b59fc08150bfca3e91dd850f3f572d9f10116080eb33aca5d9e2b39590e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: voice/google/google_voice.py: voice/google/google_voice.py 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 GoogleVoice.voiceToText 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(voice): isolate output files for repeated identical speech\u201D; \u201Cfix(voice): return error replies for unreadable Google ASR input\u201D; \u201Cfix(voice): stop google_voice from turning errors into UnboundLocalError\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- voice/google/google_voice.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"voice/google/google_voice.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8da16fbaae8cc226bd56df2ec092a3bacc57b81b3403c1450a2fde67c283a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: common/token_bucket.py: common/token_bucket.py 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 TokenBucket.get_token at line 36), 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(common): honor one deadline across token wait notifications\u201D; \u201Cfix(common): wake token callers when the rate limiter stops\u201D; \u201Cfix(common): stop the token generator from blocking shutdown or dying on a zero rate\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- common/token_bucket.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/token_bucket.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ff5460bbbceb77223112e458713b32a6747daa61696c0df5176bbdda468df5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: cli/commands/knowledge.py: cli/commands/knowledge.py 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 knowledge._stats at line 39), 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: keep admitted Markdown extension cases visible\u201D; \u201Cfix(cli): bound canonical parent aliases in knowledge trees\u201D; \u201Cfix(cli): show root and nested knowledge documents\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- cli/commands/knowledge.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/knowledge.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d8315581d238b479d5069e4e029f4ee4d322a07cb92b58293dc6e278fbe737"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: channel/web/static/js/views/channels-weixin.js: channel/web/static/js/views/channels-weixin.js 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 12 (its worst body is channels-weixin.syncWeixinInstanceQr at line 155), 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(weixin): keep relogin token on GBK consoles and surface dropped logins in console\u201D; \u201Cfix: stop outside instances from taking over a local weixin login\u201D; \u201Cfix(channel): weixin multi channel instance management in multi-agent\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- channel/web/static/js/views/channels-weixin.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":"channel/web/static/js/views/channels-weixin.js"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde32bdfc7da205c973d3638af3aba742f2709189273809a17e66893bac76ead"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: voice/zhipuai/zhipuai_voice.py: voice/zhipuai/zhipuai_voice.py 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 12 (its worst body is ZhipuAIVoice.textToVoice at line 80), 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: trim repeated comments around the bounded downloads\u201D; \u201Cfix(voice): bound every TTS/download path through one shared helper\u201D; \u201Cfix(voice): synthesize TTS into the routed Agent\u0027s tmp dir, not a CWD tmp/\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:30:41 \u002B08:00\u0027 --until=\u00272026-11-13 10:30:41 \u002B08:00\u0027 --full-history --no-merges -- voice/zhipuai/zhipuai_voice.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"voice/zhipuai/zhipuai_voice.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b257274a684582f2f0c889b15379ccfbfce33dee17df258831bf5c5f153a65b"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 16 significant file(s) lose their only recent owner: desktop/src/renderer/src/pages/TasksPage.tsx, desktop/src/renderer/src/components/WorkspaceSelector.tsx, desktop/src/renderer/src/hooks/useBackend.ts, desktop/src/renderer/src/components/NewChatMenu.tsx, desktop/src/renderer/src/components/AgentSelector.tsx, desktop/src/renderer/src/components/FileTree.tsx, desktop/src/renderer/src/components/ChannelTeamSelect.tsx, desktop/src/renderer/src/components/StatusScreen.tsx (\u002B8 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3abe754c60d07019cac523bb42ab34b70d38f96394d73ced869e6b1282067597"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 8 significant file(s) lose their only recent owner: desktop/src/renderer/src/components/MenuEditor.tsx, desktop/src/renderer/src/components/ChatTimeline.tsx, channel/web/api/artifacts.py, desktop/src/renderer/src/pages/settings/ChatApiCard.tsx, desktop/src/renderer/src/lib/menu.ts, agent/protocol/step_writer.py, desktop/src/renderer/src/pages/CustomPage.tsx, desktop/src/renderer/src/store/menuStore.ts. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bf72405fe2e0c6d9a68b8360763a126802cdda9d7d2d9877577ab1f7e6d18504"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 6 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (33 single-owned of 350 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 350 of the 498 production source files in this repository met that bar). They are anonymized user #3 (2 file(s)), anonymized user #4 (2 file(s)), anonymized user #5 (2 file(s)), anonymized user #6 (1 file(s)), anonymized user #7 (1 file(s)), anonymized user #8 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: skills/skill-creator/scripts/init_skill.py, skills/skill-creator/scripts/quick_validate.py, desktop/src/renderer/src/components/DocEditor.tsx, desktop/src/renderer/src/components/FileEditor.tsx, translate/baidu/baidu_translate.py, channel/wechatcom/wechatcomapp_message.py, channel/feishu/feishu_scheduler_card.py, common/sorted_dict.py (\u002B1 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: check if this is work on win32 \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":"voice/pytts/pytts_voice.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f41c4d468f586bd5efdf60a2cf347beedd642c43870755625a511cdd9f98f4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ## [TODO: Replace with the first main section based on chosen structure] \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":"skills/skill-creator/scripts/init_skill.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e1f0a2a7edbe73b23e97ff91d9af3d94614265477fb1a315ae91bc789db0bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Add actual script logic here \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":"skills/skill-creator/scripts/init_skill.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f055e98004f320e4cb990f1abac1dbb0d1d29665d3d21d798db0e0bf5e431c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo: \u6709\u4E9B\u5DE5\u5177\u5FC5\u987B\u8981api-key\uFF0C\u9700\u8981\u4FEE\u6539config\u6587\u4EF6\uFF0C\u6240\u4EE5\u8FD9\u91CC\u6CA1\u6709\u5B9E\u73B0query\u589E\u5220tool\u7684\u529F\u80FD \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":"plugins/tool/tool.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f3f2f9ba9fa44b21a3e79d7b8456be9c39cfc18400d198a38786c78fe95568"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo check media_id \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":"channel/wechatmp/wechatmp_channel.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"48eed5cde5dbcf3bf16fbe112ff67d9a0edfd039e66ec0a039ebd33dd28533d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: \u83B7\u53D6\u5B9E\u9645\u89C6\u9891\u65F6\u957F \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":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c928eb7545b04228d720eea1e9c15432189da62739c738af6ce0dc526b2e201"}},{"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 \u0060pyproject.toml\u0060 makes this repository a deployable product (line 15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pyproject.toml"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f93f7a2c78f190233679ac8202a9f8e691d2305d697b777ee579589e9c4bff1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Stop log stream when leaving logs view\u0022 repeats the code it sits on: 5 of its 6 words (stop, log, stream, logs, view) are already in \u0060if (currentView === \u0027logs\u0027 \u0026\u0026 viewId !== \u0027logs\u0027) stopLogStream();\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":"channel/web/static/js/core/nav.js"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8ebb9068e53ca4d85b66540ff0af599206bd70067a444032da81c682d08771"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 2 of 2 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (135404 LoC, 728 module-visible types across 116 directories). 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":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7789333c8f2fe7fc9f39a6b3750bb87c3f0c18ec3eed894e7d9ef492c8fdce00"},"properties":{"commitSha":"a059005506afd82fee4c881b46a88f0f69ae1812"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"26d2ccf2d1a9eb978b5c37413d65b058957f47c449e71762762f328688db182c"},"properties":{"commitSha":"a059005506afd82fee4c881b46a88f0f69ae1812"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2dffb839b97074a182dc6c0379964eada0231851ef27c2692caf8e8c3cd621a0"},"properties":{"commitSha":"bf50694658ca418935c5676c085bf94ab6edfc4e"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e347f99d1b80219988896d5450959839a0fc61f74f7ea7f8966ec0b466706cd4"},"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":"e7c36e2804cc3febf113113ed63396879804fe6ee05b2f24e263c7a5ee7f1a88"},"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":"2aedfe0d20b748499cc2003edccc272c948826d36ae6a7b6530355d4c73f3598"},"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":"bdc9fcad2d41f6a4f316a655ddaa0bd2dda935e42de07dc378b5f39539ff765c"},"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":"b247d6aed9fb6f114df499d5f822cfe8ac44259db73d90abae8be3375137ca01"},"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":"5a379b3f575862fffae5be18ecd308ed0df8891d818f8a468277326d8a45c702"},"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":"ecf0a59eb5e508a3f10eec53e33a14c57d4db89f44691cb37101d0638c275790"},"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":"7da8bc3223f484a0ef8e97f018b11db3929072ef7c29b136d7b2b23517d653f9"},"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":"62dc38efced826e5492cd6d9523f069b0d4a10ed548546a99938a44fa869cac3"},"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":"9b410245cc608e26bb8af92f20516f985ce14c57d60d6382947a3a7af8ee61c9"},"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":"0efa0915c467326d679048c3996165072cc89536664248d0541e745af8df8744"},"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":"3b2aaa9a2c2c029239fe6877c15a983c78096b962ebce0ce2bac3c5b2eee7ed3"},"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":"5e1b4d7d25b9ee3fb9a2cccff6281227003e30a5ef7f37a5e46fc6c4cf3cf5f8"},"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":"27b816957e1ab66d589cc1d93cbf22c90d078725984d62c224009404a90318d7"},"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":"10ce5e11c9b416638509c8725b06d816a281358902ec9cb496bc4bb0b61ff6cf"},"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":"7e41500cb1898d63149e1b35021c1cc788f793fadf23a08945761895436a6ee2"},"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":"94c1b61200c1ffd10ee08988c346c5b95eb1398ab77c317df3f9e83cec68e945"},"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":"eb9d4d9a46028e70772210d48037efffa2597bd03a72f934e34a4acf05c37aa7"},"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":"d6d1d7ff7ca8e31709f86e77a77070e67eefec89d773ac4b441465937bab4e26"},"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":"0afe8cd145185ecc4beb0187ca224fbb2b919cbcac0c3e26b796cd36280e82f3"},"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":"614cd73bec72ca74c6d27cdf5c3e8a13b45fd87146a38466e8f3951fde7b4c48"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4c782288193c2420684c0e686b42aa2df8c915042bb7c4f23f690c42152a390"},"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":"21de70ae4023f4d2c66d8ee3aa117c9ef479dbd66e2137977209073dc242dc18"},"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":"cf4385d933f68dc820c24236a4fdff983e6b489d9648bf47f90051b3de1d00b0"},"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":"5b0a79e71ea53940d7c87930cbf2cdf4d58583fc5c21a5aa4dbe696a8107d8df"},"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":"24a88b36a000ee80b81e23988cb3b4388787e6b7ad701eedadd212bc116f0233"},"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":"b87b2f259f1c63a89ac29f96c6be57471c0c32c21fbe5969588291fe17be0538"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"586e3cd8c14c5474bcc487b982e9a35869c302cc50f4f2a7b8c4e00dede2789d"},"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":"7284359298804e1b2a4de3d0b22525ec1acc094db34e25942347c7b203ecdb39"},"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":"118b68b5bff86ebe82333b520229f125f8c743bc089079143f222ab440abf05f"},"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":"ec288c89f67b0024c7b5f19e089cc1ec75525b5273c5c499220bb675f6f7e0ab"},"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":"ed1d547939c3675e8e249439531dec115e91161a820e19d8645578d5679ab984"},"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":"fd1c86b73b69a67391289172328f2bf12a4419f1259bcf756c14922fc025099b"},"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":"ac27deaec78855fbf78c140d8ff9154bb1b3336ed50c3befc80a99d63275c73b"},"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":"dfffcc78ccad1a406311c6ae57f869e6b2df2c6e21d1f1e9bb8f32a3835ca2de"},"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":"4fbe9965cd51773110f6a34a946af999e21c354956a677781d7031dbe2824906"},"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":"e8a2c45f82673c27c727ab4b5040de0d22f86619d3028f2256b5a7c26edcdbb0"},"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":"f0cd618d69d68a777a6c25d0fcca1bbaadbc6e1d56956eaa13146fecd261c790"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7aea9ed89c6dd61acd4b74d38ad6ae138dab2a0f0c4e65bdc1872bb4bb72fc7"},"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":"387ea0dd1e8a515876cd4f70ef27ef78eb68d6a71d922156c0039868b090bd11"},"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":"15834056fdfcc72c57bc01deb2d47847223f6cac4b29335eee664b52f466afa4"},"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":"124be63da11908de596115e5d94b88a7a534b14aeb6ba141cd1ccb0cb93c2802"},"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":"d775919fdd396c77c768befdfc237b5e718a8240af0f9e0c7605f931f20a7aa2"},"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":"97662b686a24743450e0d07c83d14d75c70d4b9fab22b4d34576f9a8fb6bda0b"},"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":"614607e068dca85f364fdb1cd5525fb662d26351565e9dde321d04c29f174c09"},"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":"27a6d717ad84b401bb3fcc4489baafcd233368ffed0054e996b74a5d0aa3403a"},"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":"0264cdef9d5cde7281ea2683987712c41eaab96b5f2bfbf5bd316f5da254ace1"},"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":"6d462239a2189099c065c4c382506c79cdd28d89e8b39e4feeb782b1d5163898"},"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":"ae517fe66f1ab68eb863bc6766112f842533761d09163282d5d215e8297100c0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"26f3deb804963d64d4727ac33e847f66247fad6e5fa4d27fe51c93d1ed7a89d9"},"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":"7bc136de612baefc1fbd6f50af862f7da3fca11744cc857d86ee858f310645fa"},"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":"52db1d5e466cbe524bd8da147cbd186594777f4b66bbaba5b27961f02dbb1561"},"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":"a621ecfa1784b9943f31306945615892e2b4939c939f9089df15ac56a8779af7"},"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":"5a7964a107581712ec0547a40ca1e188a2902e8776842d99ac098a499d982585"},"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":"5be03ab325ce0dd57044d4e411f1428508ecf7870bea56774afff406be2e7ce3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6f373bac4b4a06936e73aac4adc7af26dc474830ce1c4daf4d57354f5627d18b"},"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":"101907159e3bb7d8afe7fa3e34f7c2a5a9da4668d93ae9cd3e6f1dd4ae43516b"},"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":"a4fa3a3025b7a9052cbd7b0d8a17b7d24287898600c95850a4b97997b4072afa"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"338407871e9c53d2625a5754ccc8f84f16e799149817c1d1e310aef9e6213485"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b2f3ef9b7c21c3f8b0e20d2bc2760798e0012c2a9e7b7cbe61442db90fdfdabd"},"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":"40b13e661977ec383b3447ceb5c9f2b5ad4da373f334fdb358e33166ce854f36"},"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":"6f7245f5bb5da1d88684c7b86136651bcce8bc76e8a687c4b40104344d01788c"},"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":"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":"75369c09bb288495c1ec96550eb2aa9585bb73f2d0abcdd876376a94900b52cc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3623a4cc03d6b748abd07e72ba738b5a11275d7569882c5623a53ec0541b9e47"},"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":"64aee044c1f4dd4bb7a77441c8cfb2ad1960dbe2c5bbb6dcc4a3af1fa08e7b62"},"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":"2228a05e42ed9567dab87383f97ab54d73b5844d0d8fb28915412ef1e4065aeb"},"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":"5c679042905c6c4f6917d8b9dbd7fc36f3b496f93d6a761ab57d3bc4e82778b5"},"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":"b8c0e5d135c68b9f992402ffa148348690f477c80d3a245e5ef1a1de9a63efc4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c2bb6e48ba198d464ab91a1bff4548c621984de3f57f09feeb3a586b65963ef"},"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":"d7cf3fdcaa652f3d5916742ae44d7256c636beef302c135ba13d58739a9038dd"},"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":"97475e2affaf70ad513a6459f44bf19d44101ac31fc07d3df5cf971c0e27588e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ad802125a4a401fcc72dd926f520e28347e5b710636c8418e0301f554098ab3f"},"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":"3acf9b8d2dd79e753329f5ca76b3a63d39f256d59a0a654b3347af4317e40433"},"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":"75e314f873b36a856b468996e8160735f4c920eb65209a2697e9f95337e11320"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3dda5550a63ac23d3be7c550869d490f497da2e1ecda5ba6982d714a2aca8fc1"},"taxa":[{"id":"CWE-94","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":"040e12c11e10415913a91d32f733a172060ef444bcc6c0e1bd4db52d4845582f"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","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":"6e93295d4df6dfe0575750f76577333be509165639d07b224f1628df066cb66b"},"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":"0ef5848b369ee8ad2d0b693a975732634127ca43b178db607a17f8bc55882aff"},"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":"2f47c8bbae836fd4884438125886b1c541c2837c4fdf7722812d11b3d06d3c99"},"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":"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":"06e0d1562e9cdd24473b5ce8878c14b4633adead7e3fd66271c1859258a627c2"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c6b7e0a3887392278d1aa5fbce7676b0532d333f43056db684c792370f57d28d"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9c0d02dfa4c65b0d440ed23d2ccb9e9b449cc0b95351577bd36571df48011618"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fa558881c353e741198ce11e84b59d446af110511c9335617404df1905260d61"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63778fa624412affc09bbae17ed4e235deee47c1e8fbbd49594e08c2f223c987"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e6790f47092b3d0481018c6e93a66886cb82ef8c327b22114f7747d22cd53881"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5185fabe29a00b677f98c9e987e53109d542a49bb4a1eba32b4d814832940ec3"},"taxa":[{"id":"CWE-327","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":"5df83a12dbdac7bb9b6ec04531236a8616a4a84ed95966d4d8ae507502409dc8"},"taxa":[{"id":"CWE-327","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":"3c0c50e7e967a2b518b48d0fb640c13fba02c0b50524e1a6e9f1c1843b360c7f"},"taxa":[{"id":"CWE-327","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":"8595a517dcde3a98a5e76eb70d11aea6d30aae480702e26274220062a8d2afe8"},"taxa":[{"id":"CWE-327","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":"1d56150ea104a39ce94fb5fabb4599aeba477467fd5e9264e32c7d7706e61427"},"taxa":[{"id":"CWE-327","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":"9c3f9ae82c78706885555c46484b95148cf06fb44f095ea8324caa92e27ff825"},"taxa":[{"id":"CWE-327","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":"45abb276cbc680b30ff72238b5967cad8576ac73f9ec494c6aae804b406d308f"},"taxa":[{"id":"CWE-327","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":"a521504f3f01aa4c27d877697b220219a95487502480ab6a0c1caf5c18a80ec6"},"taxa":[{"id":"CWE-327","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":"fdf62be3aa538e2e91146e1f96a071636e442d0e28a8cb2b6c5673774e4d6517"},"taxa":[{"id":"CWE-327","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":"32f1db02941df5596e7d3090c932160a4e954a02fbd52fd321d862068f62b0f1"},"taxa":[{"id":"CWE-327","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":"eb13adabff2161b93f0b0c9f0afa1c434fb15a7b53dd3c8a771c69e9d07dc066"},"taxa":[{"id":"CWE-327","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":"879da3c6564f8d952ccfc62cbc56213b8d900ca4548c7249133608f05bec8ee5"},"taxa":[{"id":"CWE-327","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":"e6a775a04158b9dd5d764969c75920d48206359c9ee7f0714e1cd72a68d14b7d"},"taxa":[{"id":"CWE-327","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":"fbfd2c3ae7680dc3b5c3aadda7bba98de11bc0f987dbaf74e52dc83d9d2c25d1"},"taxa":[{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"8dbad1e940809dcc164f530d5fb5f228a788137c47dbe7223c05181a54887c98"},"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":"272abf29ed04c11bfa62dc606a917dca94b7cc89429c83225a8cabcc152ca60b"},"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":"476aca7e3911508696db719025a187a291ea6c75f4f19facd0e809556ad69a9f"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"45c1df6500ff8a96fedf2ce84602d80061d73804059d93514a8fcf81824b49e9"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"beab37a5cbb6fefce105b8d9d4e6b8c9b04c38507377fcef69430a7f923a85b7"},"taxa":[{"id":"CWE-611","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":"bd5bba7fa72fa9e5ed3f8b506be548a497a6cecddece8991f16312f618a67557"},"taxa":[{"id":"CWE-327","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":"6f045952e8b0d31c05fc8f43cb1f9898fc0bbc8425d9701c9805bd714a83ccc2"},"taxa":[{"id":"CWE-327","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":"aebce5756f53df3b90393a00a7dca6ce459645571a7dc5dd13f73e661a657e5a"},"taxa":[{"id":"CWE-327","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":"a3b26f2d7e4644e3d315b940f97a320d3458bc600194f33be70849bd1f128223"},"taxa":[{"id":"CWE-327","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":"606df370ca3a3b6b14a007e3563a6f5e1ad60ed861be3632b9940f7fedd69234"},"taxa":[{"id":"CWE-327","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":"53e86bf1327bba3b129373617ece91babeae6b23cf72e22f1866e155095ecbb2"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"3ef995deb7c863984372133cf0bb692db4b843479d57000742b8d52db090bae3"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"7d11cad07955ffd446679ea956ff728e4c583a6132198e01dcc0986cb4221bde"},"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":"a1148ad5a82de22029fed31fabc1d2f198d5c86356b1493551509499ca9405b7"},"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":"e956426517087387dc7467e721b3f7dabc4711923dc9d72de01e2085e86b34fe"},"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":"78d4cd342266ed31f7c0924596df9093f5945cbfc478c9f5e8fc61987c39728a"},"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":"a06279bc1dfbf30d68751a532df6c18a138d81fdd3b97e2f5bba071e52603723"},"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":"072cca39828f5debff3e9c16d9bf5b62d7e21b2c850ffffdcef9e5a1ae111d51"},"taxa":[{"id":"CWE-327","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":"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":"a5c5d8674d185724c483a5b2d0924ddcb25de1bca9b130ed13b4a90a164282a2"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83fb6a0f38ffa419cd3decd3cfde5a0b3a27f55526317be4d846d224ae4b077e"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07: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":"0148e3f64b9172806fa947f7af062b9d5c962b98b9f0debfce9f00bc5e3432b2"},"properties":{"dependency":{"package":"shell-quote","version":"1.8.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"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":"47bc3aad206bed76e238c977a179b0b4f6f484e2aca0c27cddaa97fd1098889e"},"properties":{"dependency":{"package":"tar","version":"6.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"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":"12faddd98adedb4b1f90ec55077fd7a1c748767be6203c1bcef6defddbacc71e"},"properties":{"dependency":{"package":"aiohttp","version":"3.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1097","PYSEC-2026-1099","PYSEC-2026-1100","PYSEC-2026-1101","PYSEC-2026-1103","PYSEC-2026-1104","PYSEC-2026-1105","PYSEC-2026-1106","PYSEC-2026-1107","PYSEC-2026-1108","PYSEC-2026-1109","PYSEC-2026-2094","PYSEC-2026-2095","PYSEC-2026-2096","PYSEC-2026-2097","PYSEC-2026-2098","PYSEC-2026-2099","PYSEC-2026-2100","PYSEC-2026-2101","PYSEC-2026-2102","PYSEC-2026-2103","PYSEC-2026-2104","PYSEC-2026-2105","PYSEC-2026-2106","PYSEC-2026-2107","PYSEC-2026-2108","PYSEC-2026-2109","PYSEC-2026-2110","PYSEC-2026-2111","PYSEC-2026-2112","PYSEC-2026-2113","PYSEC-2026-237","PYSEC-2026-3545","PYSEC-2026-3546","PYSEC-2026-3547"],"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":"9beecab698e943ef79dde7c1acfc69d925a9eaf1d68266e464e7f412545da719"},"properties":{"dependency":{"package":"aiohttp","version":"3.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1097","PYSEC-2026-1099","PYSEC-2026-1100","PYSEC-2026-1101","PYSEC-2026-1103","PYSEC-2026-1104","PYSEC-2026-1105","PYSEC-2026-1106","PYSEC-2026-1107","PYSEC-2026-1108","PYSEC-2026-1109","PYSEC-2026-2094","PYSEC-2026-2095","PYSEC-2026-2096","PYSEC-2026-2097","PYSEC-2026-2098","PYSEC-2026-2099","PYSEC-2026-2100","PYSEC-2026-2101","PYSEC-2026-2102","PYSEC-2026-2103","PYSEC-2026-2104","PYSEC-2026-2105","PYSEC-2026-2106","PYSEC-2026-2107","PYSEC-2026-2108","PYSEC-2026-2109","PYSEC-2026-2110","PYSEC-2026-2111","PYSEC-2026-2112","PYSEC-2026-2113","PYSEC-2026-237","PYSEC-2026-3545","PYSEC-2026-3546","PYSEC-2026-3547"],"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":"501deb1cca9ebfd2f084f52a79c7d31cdddc0025ac81ed79c86ff253edc0c019"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.12","advisory":"[GHSA redacted]","aliases":["[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]"],"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":"d86406156e5cbb340e17ce2edc83c1d0512ebe240a84455c153c5733f18a34f1"},"properties":{"dependency":{"package":"brace-expansion","version":"2.0.2","advisory":"[GHSA redacted]","aliases":["[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]"],"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":"d763388828d485486e4d0af9491414fa9651ea1a3a995e08c948bca6c43ea2dd"},"properties":{"dependency":{"package":"@xmldom/xmldom","version":"0.8.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"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":"e4faf2a87d445cc436c387747a7aae114d5dce54b25262baeb2b32866e8c3b89"},"properties":{"dependency":{"package":"app-builder-lib","version":"25.1.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"c1eaae9745e0fa630b84f833eda01946eebbf1b50e63616234402ae056f6cc0d"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.4","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]"],"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":"5aa23549012e08aa669d2e565009c34600e5a9d0fac092782a6592a8518118f5"},"properties":{"dependency":{"package":"browserslist","version":"4.28.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"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":"70a26b38d2aac21442f9b8fe0e8b6154c2d95e38a2ca95a08f9735af98015e36"},"properties":{"dependency":{"package":"builder-util-runtime","version":"9.2.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"277b2f9f5c3d45356f646218c018fcac2a806e4e204462d3e73bf153d9003dfc"},"properties":{"dependency":{"package":"electron","version":"33.4.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"desktop/src/main/app-icon.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":"4cea34217f6ace59518d23b50804c5620279494cbeae7ff10982713cf1767807"},"properties":{"dependency":{"package":"extract-zip","version":"2.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"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":"33531b2381590c7270d3d8b45a7d05c39965b63fef7f790f92067f5daf01d2cf"},"properties":{"dependency":{"package":"form-data","version":"4.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"9466afe810f3cd5a7be7ca91f54e42ae3f8eccd7446224f8d0a750004d268487"},"properties":{"dependency":{"package":"ip-address","version":"10.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"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":"508e48b28e9902e302401ff684557bf0ad380be7f6cb8ddc322c87d9790c8769"},"properties":{"dependency":{"package":"js-yaml","version":"4.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"6d959f42c5adb210fd3c7c2871b8a054c854ee6d00b494741baaff3abf5b6dc7"},"properties":{"dependency":{"package":"lodash","version":"4.17.23","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"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":"1d2f3c4e2bcc9ddef2c7425ae39b4d492622b6f04db02cb5667177bda9f1df3b"},"properties":{"dependency":{"package":"markdown-it","version":"14.2.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"desktop/src/renderer/src/components/Markdown.tsx","line":2}}}},{"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":"0396d6c1e36171aaf5c8d76046c54d4b05599530398e7b8e31d2519469b3ccd9"},"properties":{"dependency":{"package":"nanoid","version":"3.3.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"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":"8c34751a237fb27487e0e9aeb1a0378abee76920ba735a515afa4eae42bab1e5"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"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":"a3d2e402e2520f0121088f0c3e0b861527ac8757db27cbe0d783b23f2de2ac28"},"properties":{"dependency":{"package":"postcss","version":"8.5.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"desktop/package.json"}}}},{"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":"c27184f55c722efbaf36d036b520b328d9a1f61ccfad8b70865253b74f70a012"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"1c7c4ac7f4e9b48092ed31871c55448899bfbf9c6aac7a5f06cd109bc93c5788"},"properties":{"dependency":{"package":"picomatch","version":"4.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"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":"83434262bad0f336d1d3b080e7bb2ba72fb994baf97b5826b3b8840ed38f9d27"},"properties":{"dependency":{"package":"tmp","version":"0.2.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"5e18f5dc3933b3fd8647c8b0c50f7a3276be229ea49d3af7d76b60f38f8f6f9b"},"properties":{"dependency":{"package":"vite","version":"6.4.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[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]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"desktop/vite.config.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":"4871ab0dd7f82af57bd3eb19a39072d4952cfc2aa763e5f2a8d1ca3ff24cd080"},"properties":{"dependency":{"package":"minimatch","version":"9.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"78ce6ee27d58184c85b1bfa6332363f0552f36f9831f8ff20c78816f6fd18fb3"},"properties":{"dependency":{"package":"@remix-run/router","version":"1.23.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"ce020ecb9b690ef7c9fa40b0116e6ac369150644ca34e92d74a380b0fe3fa6f7"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.10.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"f73bcc9e7e461e9c3e7a8914d164155b028425c9aa602f6a273cb8028723d06a"},"properties":{"dependency":{"package":"glob","version":"10.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"11b9779e8d8d90d3ecd97867f4e07b0815568deef555a21aa589b818093bae86"},"properties":{"dependency":{"package":"minimatch","version":"10.2.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"4e41d9a0677f2d3e6a7e5cca5b23726c8091ba45aa0768140057d4f0e9b9fb12"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"6.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"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":"593407191fa43bcd547db7e0e336f1910576f026452b2692fb826e4f41436941"},"properties":{"dependency":{"package":"react-router","version":"6.30.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"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":"5b1fc8ab01cc8ec88136add807cfa465d7302524821b79c88419584ccfb30d5e"},"properties":{"dependency":{"package":"react-router-dom","version":"6.30.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"desktop/src/renderer/src/App.tsx","line":2}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe3703b8022b69ba0a7baabcf86384ad0decb7900f7e3bf40ec6fa839a6112fb"},"properties":{"dependency":{"package":"@babel/core","version":"7.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dc647eaa618fe23da4a0abc13930d699bed5d06cb1b16eed3b97832dc422fc73"},"properties":{"dependency":{"package":"@tootallnate/once","version":"2.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"97333efa9717b49907206dd0c5fefbc46fe42a9e41f48a501a831a60c27307b8"},"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":"becbc5502f94878197b05d70c7ef15f1353fd99a90efcb824b9c43f11ae5ce7a"}},{"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":"6cfea76e870097945f9386ee20ee5c4cd1336e9f95af1576a8e9992b29bf7228"},"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":"9828cd6e017842c1a96eba4f4bf846f645fdc753ea4da96a6b8452427402e231"},"taxa":[{"id":"CWE-527","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-538","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"62248dcd29801ffaf8d818243ce32377b446d5f2265657a49a9a2363a101da8f"}},{"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":"6c9c4eb6412ade982c6c69b45d1276697fbe978edb7e621f904702f995cc4a9d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"6d8bca49e5af080622528c63c79c2f48f7fe3719cb797f9e2d8da697641c04d0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"6eadf2d392c1efda8a11aa098be3e775af5ae9f385d6d8778bcedce5b0ca89c8"}},{"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":"066940370c4b68cc31e41a10c483b86316948ec04522a46468d1f43fb6ec4217"}},{"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":"3b218be6ea9e85a972239f95ee80be768f22fec230f81b66343c85d3b227c7f5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 9 of 350 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; 350 of the 498 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: plugins/tool/tool.py, plugins/banwords/lib/WordsSearch.py, translate/youdao/youdao_translate.py, models/session_manager.py, skills/skill-creator/scripts/package_skill.py, agent/protocol/task.py, agent/protocol/result.py, models/openai/open_ai_session.py (and 1 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":"plugins/tool/tool.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17620d593cf1060a8db1260c715d8212c56f5fb5b67e5514c9b21f4626bd5034"}},{"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":"plugins/banwords/lib/WordsSearch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca7f66a5dca51f87625e339d4f03ae6b1a64d17122247b5e42681c2e8756887"}},{"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":"translate/youdao/youdao_translate.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50f426741ebc2715fef8dec9bb23d552fe80a310d044ce95c13231c2fa1ab07"}},{"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":"models/session_manager.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4caeb61ae2c56d7871181eaf5c769e8bad03e0d28f7e2b39c2f8593ae8f2cf67"}},{"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":"skills/skill-creator/scripts/package_skill.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9fc90a471a484472248b9913e615b13b7c3cca235e3c15c214333291d59854"}},{"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":"agent/protocol/task.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"947c30c9ed1f76ec1e2824175969505754b196a75768225ca5efdbd14235f616"}},{"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":"agent/protocol/result.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0aa321a16e7143989bc7853a843e0b49a3b654d9f25833a0ec145cd70888868"}},{"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":"models/openai/open_ai_session.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b325220015f612746faecd10fa3db2fffa294cae10b21a30c1642d5dab7a4b37"}},{"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":"agent/skills/types.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98c4d87b05e9f16af42db39a8dbd33229de5512c8805a076dfd6bff324c64f4"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: models.js \u2194 i18n.ts: \u0060channel/web/static/js/views/models.js\u0060 (context channel) and \u0060desktop/src/renderer/src/i18n.ts\u0060 (context desktop) sit in DIFFERENT parts of the tree yet 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060c755e2be\u0060 feat(web-search): add SpecStream search provider; \u0060c624d078\u0060 feat(web-search): add Firecrawl search provider; \u00601e99dbc9\u0060 feat(web-search): add Outcrawl search provider \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50706f10e3a10c97f3a425f3b0c8e2d4c09f4fc7c2e6c853d29d4db74bba945"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: web_channel.py \u2194 bot_factory.py: \u0060channel/web/web_channel.py\u0060 (context channel) and \u0060models/bot_factory.py\u0060 (context models) sit in DIFFERENT parts of the tree yet change together 70% of the time (7 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00601940d628\u0060 refactor(custom): id-based routing, single source of truth, security \u2026; \u0060bccce2d7\u0060 feat(models): support xiaomi mimo; \u00603830f767\u0060 feat: add custom model provider \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/web_channel.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"147257965e3db10f2e2fc324ad2d6f8866b9331bbc63c318efc31d7cd4b935c5"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: const.py \u2194 reasoning_capabilities.py: \u0060common/const.py\u0060 (context common) and \u0060models/reasoning_capabilities.py\u0060 (context models) sit in DIFFERENT parts of the tree yet change together 57% of the time (8 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060cccd476f\u0060 feat: add gemini-4-argon as the default Gemini model; \u0060a528c185\u0060 feat: add gpt-6.1-terra, claude-sonnet-5-5, claude-haiku-5-5 and kimi\u2026; \u00603c28e032\u0060 feat(minimax): default to M3.1 Flash and preserve reasoning history \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/const.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4f9fd8aa027d17c4e2f5986e7aadc537d17471c1c32655979945cb767ad77e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: types.ts \u2192 index.ts, preload.ts, primitives.tsx: \u0060desktop/src/renderer/src/types.ts\u0060 changes together with 3 other files \u2014 \u0060desktop/src/main/index.ts\u0060, \u0060desktop/src/main/preload.ts\u0060, \u0060desktop/src/renderer/src/pages/settings/primitives.tsx\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":"desktop/src/renderer/src/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e75eb868ceab489d601b5a18e17c66beca8f476334b16b1d0eee3f8c98cb27"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: dungeon.py \u2194 role.py: \u0060plugins/dungeon/dungeon.py\u0060 and \u0060plugins/role/role.py\u0060 change together 87% of the time (13 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 13 shared commits counted here, the most recent 3 are \u00604fa90e74\u0060 fix: compare the feishu callback token with constant_time_equals; \u00601c93c994\u0060 fix(plugins): do not let a blank message raise inside the role and du\u2026; \u0060419a3e51\u0060 feat: make plugin compatible with LINKAI in most cases \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dungeon/dungeon.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de0c9c39254ae99ddb1622b09d1b7d70ce0971d749728554ed583317e24e6b8"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: doubao_bot.py \u2194 moonshot_bot.py: \u0060models/doubao/doubao_bot.py\u0060 and \u0060models/moonshot/moonshot_bot.py\u0060 change together 77% of the time (10 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060081fbafc\u0060 fix(minimax): close streaming responses on every exit; \u0060bf7381a7\u0060 fix: share one failure-body reader across the reply_text bots; \u00603b571d97\u0060 fix(models): answer a refused call instead of re-sending it \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/doubao/doubao_bot.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4fba970a7499941644cce5d1044ce43b8785131c41a609bc0a1d7f64f6df0e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: i18n.js \u2194 models.js: \u0060channel/web/static/js/core/i18n.js\u0060 and \u0060channel/web/static/js/views/models.js\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 \u0060c755e2be\u0060 feat(web-search): add SpecStream search provider; \u0060c624d078\u0060 feat(web-search): add Firecrawl search provider; \u00601e99dbc9\u0060 feat(web-search): add Outcrawl search provider \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/i18n.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9c53332b4e18d45579c3fc125bc1ec5d06cece69916656cf0321a80fce2eab"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: edit.py \u2194 write.py: \u0060agent/tools/edit/edit.py\u0060 and \u0060agent/tools/write/write.py\u0060 change together 67% of the time (8 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) 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 \u0060046214c3\u0060 chore(edit,write): drop the two unused bindings the lint gate flags; \u0060ff0d4a73\u0060 fix(edit,write): write through a sibling file so a failed write keeps\u2026; \u0060e2d284c7\u0060 fix: share the memory index dirty check, and cover MEMORY.md \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/edit/edit.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e73b2eda63f1b07894998b00de5656e3e1efe4d02cd6d9ec46693c8ab0b6110"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: preload.ts \u2194 i18n.ts: \u0060desktop/src/main/preload.ts\u0060 and \u0060desktop/src/renderer/src/i18n.ts\u0060 change together 60% of the time (15 of the 25 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 15 shared commits counted here, the most recent 3 are \u00609a3057c3\u0060 feat(desktop): integrations tab with guest pages and listen address; \u006005be57e3\u0060 feat(desktop): custom themes with import, wallpapers and agent-made t\u2026; \u006095dcc717\u0060 feat(desktop): request mic access on first use and add extension poin\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/preload.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f209c8cb1cdce5428c1450f6378888975d4c9348312904bf57f172c2c59e65ea"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MessageBubble.tsx \u2194 chatStore.ts: \u0060desktop/src/renderer/src/components/MessageBubble.tsx\u0060 and \u0060desktop/src/renderer/src/store/chatStore.ts\u0060 change together 60% of the time (9 of the 15 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 \u0060b6cff3e2\u0060 perf(desktop): stop long sessions freezing while a reply streams; \u006078fdaffb\u0060 feat: let a suggestion card send a message with a separate display text; \u00601ab74c4f\u0060 fix: show per-reply usage as a hover icon and sync it to desktop \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/MessageBubble.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9e327a789617bd9d4b624d05f6c8c9572259a8a0371b812cfdf387c0353bb0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: doubao_bot.py \u2194 minimax_bot.py: \u0060models/doubao/doubao_bot.py\u0060 and \u0060models/minimax/minimax_bot.py\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00602f3a91cb\u0060 fix(models): cap keep-alive-only streams in four more providers; \u0060081fbafc\u0060 fix(minimax): close streaming responses on every exit; \u006055c5d1e0\u0060 fix(models): error_generator closes over the deleted \u0060except ... as e\u0060 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/doubao/doubao_bot.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff7e2492e8b24a41ee08f30d804277032b916b2bb5feb018aacf6782076ea9e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: chat_gpt_bot.py \u2194 open_ai_bot.py: \u0060models/chatgpt/chat_gpt_bot.py\u0060 and \u0060models/openai/open_ai_bot.py\u0060 change together 53% of the time (17 of the 32 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 17 shared commits counted here, the most recent 3 are \u00607fe71635\u0060 feat: add open_ai_api_type to route OpenAI requests via Responses API; \u00608752f0cc\u0060 refactor(openai): drop SDK dependency and switch to native HTTP client; \u0060d5d0b947\u0060 fix: complete openai_compat migration across all model bots \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/chatgpt/chat_gpt_bot.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfa159e2eb3c47678a2246d1c55e03be8f40c5903f445121cc3831bffcf8f00"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: banwords.py \u2194 godcmd.py: \u0060plugins/banwords/banwords.py\u0060 and \u0060plugins/godcmd/godcmd.py\u0060 change together 52% of the time (11 of the 21 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 11 shared commits counted here, the most recent 3 are \u00609340abe5\u0060 refactor: share one atomic file write helper across stores; \u0060abc44006\u0060 fix(plugins): write the repaired plugin config through a sibling file; \u0060198247c1\u0060 fix(plugins): keep a plugin running when its config cannot be written\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/banwords/banwords.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f40e81982f45fb4dc68a5036068afc8db45684e7fd0404d975dee29145754e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: discord_channel.py \u2194 slack_channel.py: \u0060channel/discord/discord_channel.py\u0060 and \u0060channel/slack/slack_channel.py\u0060 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) 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 \u0060b65b1b68\u0060 fix(telegram,discord,slack): keep code in code blocks when a long rep\u2026; \u0060a0b3564e\u0060 fix: only retry a Slack/Discord send when nothing went out; \u0060d9e14233\u0060 fix(slack,discord): let a send failure reach the channel retry \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/discord/discord_channel.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"493f50480b794e7fb2e24883aa81072a9208f7b870562a544cbb7222f731d358"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MessageSteps.tsx \u2194 chatStore.ts: \u0060desktop/src/renderer/src/components/MessageSteps.tsx\u0060 and \u0060desktop/src/renderer/src/store/chatStore.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) 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 5 shared commits counted here, the most recent 3 are \u0060fdca9431\u0060 feat: show stopped and interrupted replies in the desktop client; \u0060984eafed\u0060 feat(desktop): show a delegated teammate\u0027s reply in its own bubble; \u00604024eac5\u0060 feat(mcp): show tool retrieval diagnostics in clients \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/MessageSteps.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e43f3768d0e43810624e1c7c6b33f5ecdfd38dcc9dec6d7d169c9add7cecb9a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: builder.py \u2194 templates.py: \u0060agent/prompt/builder.py\u0060 and \u0060agent/subagent/templates.py\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) 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 5 shared commits counted here, the most recent 3 are \u0060f2b6767a\u0060 fix: narrow subagent delegation and wrap up before timeout; \u00607f64d5de\u0060 fix: keep the date in the system prompt and rename the time tool; \u0060563b5520\u0060 feat(subagent): improve delegation prompt and allow memory reads in s\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/prompt/builder.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bcb5a43e0665877fe847f1ab2934d67be8db30bb15ef0b9ab7c09b1ed8cd439"}},{"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":"2101ee0f6c420efe9c2421c562df68d7a5496d7cd5c78ea7ce49359ea427f633"},"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":"0509cfc7d158303d59f3a50fdf1dd2b3ad66acd5c8e10fb0b8940a19b8bda96e"},"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":"6b1273c81a1ca9b5eb097489b2567416912a145951451afeec807249ffa5e5b8"},"taxa":[{"id":"CICD-SEC-4","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":"\u003Cvideo\u003E without a captions track: Video with no captions \u003Ctrack\u003E offers no captions. This player\u0027s source is set at runtime, so there is no caption file to author here: give the player a way to carry captions \u2014 accept a track/captions URL alongside the media and render a \u003Ctrack kind=\u0022captions\u0022\u003E when one is supplied \u2014 and capture that asset wherever the media enters the product (upload, import or generation)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/workspace.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"f160b6a718eb0dad3ab1f192e2e2da1af3bbe6d5430017607645bfc888438161"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Cvideo\u003E without a captions track: Video with no captions \u003Ctrack\u003E offers no captions. This player\u0027s source is set at runtime, so there is no caption file to author here: give the player a way to carry captions \u2014 accept a track/captions URL alongside the media and render a \u003Ctrack kind=\u0022captions\u0022\u003E when one is supplied \u2014 and capture that asset wherever the media enters the product (upload, import or generation)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/FilePreview.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8b9905ab306fc887ae43b26ed25dc2d241596e1fa5d33489c33d43a60befdd"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Cvideo\u003E without a captions track: Video with no captions \u003Ctrack\u003E offers no captions. This player\u0027s source is set at runtime, so there is no caption file to author here: give the player a way to carry captions \u2014 accept a track/captions URL alongside the media and render a \u003Ctrack kind=\u0022captions\u0022\u003E when one is supplied \u2014 and capture that asset wherever the media enters the product (upload, import or generation)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/MessageBubble.tsx"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"6109122c4ddb5ef2c306c9779d6b13e67fdf9abad957651439ec049186a09a66"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Ci\u003E: This \u003Ci\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/workspace-selector.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9680115a32282fd488987facd75f0d9509c56d965aa7e45fc666a32a2decae"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/agents.js"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f200715be60d40735ac7dc972be596a14c7a8c64be02595a6559358b66a8ed"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/agents.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b83fe2da3e0ca57d89a0290783300a4d7d60638486444b439d8d6d7edac0328"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/agents.js"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"9592bab97c8df850ed7231f0fb2ad601ad6671ba40336c5e1262f1e8f140b2d3"}},{"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 for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/agents.js"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"a718ce67adfcd3f062189fc54092c0549c221d0e0a11bb96310e85755cac2417"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/agents.js"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e813bb361c1cd0689653f5cff3230addc17a91be0b553a51a04b13d5f7557e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels.js"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dfee897ceb69e90265331d00a0e5a3c399439596c0e1153d317a70d66e861a8"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17080de7bd572d7de1ae5aa4aca568ce695176cc1ad0f63b4361e4069c6fdb3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels.js"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a757f6319ee7d7e41fec98db0a3f304b90f758a6646acbba3b2d33d25d07ff1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/menu-editor.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ffadf6e58ad0f397bc9e0aa3213bdf5ad273d07a5dd1dbf13587897f8bd6db"}},{"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":"channel/web/static/js/views/models.js"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"405ef1c8550ecabc790c24f84ecb36c3b4f0d08cb5f9082c28354b2c6d604e09"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0461be55d6357bac2c167c3466000648b5ae514d73172a6c174b6512ca3272"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76a0dbda06e8aed4e1688a0b2a7e6ea109f6a1fa67ca60d66109b9694231445"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"b823d4fbffc8cb1caa8caa768e76fd04e57a01659039739815392247d09c941d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"2722e2562acc800afd1325a4b75be467a9b5a60638068b53f26a11ab93122b43"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae67c7589bb01cf3ec409a9739c34feaefd3433463383a88d789804125cfaec6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b0221c7920b5af8fe03354afbe8ab563f20c75b8be1683b727758088deb7d3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe23cc224951ac91f16b7de1954cf1f8b6f90617fcca35cdbc2de37c7938daa"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cca22e67cb653d1aa0e67cc873654ec9cc4b650e5d8f99ae15ea1ac93f2c414"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7599a1922a65bb9483ec6ad1fa445a285200b77e0a3f0dbb9c68cad7179c65c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b95547a5beaeff1e7f90ca0094a6dd1c74a65e6c8a798ae5dae6627d4227bf"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5853bff580d3c9221031e274d0430476dbc6574c83954a1c862429b5f0a54a3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"764fc304cf89abb4f2ad3102cbbdd7dc204d71cf1a0cdcf3784bdd44a81f3431"}},{"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":"channel/web/static/js/views/models.js"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"38aa65f9ab6d91be316eff1721b2c73a3edcf74f44bc88ea8e0f8084e8a9ce6f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1328}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c5f5301ef1f230c520b6f22e00e2bee4e003d385394877506fae8c3dab2b6a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1457}}}],"partialFingerprints":{"codehealthFindingId/v1":"be55bd1e95e8c138fbe185c82ddbea97ec93474ba6b5b9a1616d32d46aeaa730"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":2355}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e87710196039a45da93d792e9f80d0ba88ac9f22d6b5736115273494061219"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/sessions.js"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"307888628a2338874ecbfe8152b4d3e78380bc7d35c16f66c3177dde770014a1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/shares.js"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42d877564eec82ba5cc767e6706b5597fdc58fdc6a0a31fedcf14e4776cfe9b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/shares.js"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3a5e97c53fd828cf51f5662d121ecb93e3480b820ebd2cd0cd496d3e75b7ce"}},{"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":"channel/web/static/js/views/skills.js"},"region":{"startLine":1947}}}],"partialFingerprints":{"codehealthFindingId/v1":"743b691baeb6d90531f40187df92f8badd802c78e647b9e1f0b2d82cf8e1cf96"}},{"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":"channel/web/templates/guest/page.html"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"26cb76be63fbaf2a499c2b3d86a34c1ca9213518c5f9734869aa041ddc7b6b3f"}},{"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":"channel/web/templates/guest/page.html"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c07257a657dda7b855387b932247bca4e042b5c82d132d1b265454bcfec8ff0"}},{"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":"channel/web/templates/layout/header.html"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5166fcf0cf42a52a649492109453e71535adc936bbd2984af55ecbedbfc63d"}},{"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":"channel/web/templates/layout/header.html"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"208a00598623de41482d27accc3b04f32c8e9b052d98c0cbab7ded00bfb088a8"}},{"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":"channel/web/templates/layout/header.html"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1539573f924a741f9c66561626c5575d3e387b62db773633bbbfb8719245da17"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/templates/modals/mcp-editor.html"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bd8db7d6394a9f1f40f316b1d19e16fb0187cb3b1d40f93bf15beeabb20784"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/templates/modals/mcp-editor.html"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c14169164b090d593c5e13d46c4f0b9503511e7b6843261f8cb8475ce01d8b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/templates/modals/mcp-editor.html"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0265d002a0501530404622b8e8aec41c177186f72f6af5980f606c4159b7b29"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/templates/modals/mcp-editor.html"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6ae8dd10ffa74e30543c16b4f9f480c02550d8dab871dde30a69642723d23b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/templates/modals/mcp-editor.html"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f7af0856df1398b6413f23e5ef7cbe47b4e55bc5004ea1e8ba0b7d25502526"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/templates/modals/mcp-editor.html"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f3dbb238d0fa3c321232fe4540e3e60011c1fc9eccb100549f371ea18496f4"}},{"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 for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/templates/modals/mcp-editor.html"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"09552b61fca3f9d5b67ed8aea24881fa4dd412c38ed7a3bd45141624fc94c15e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/templates/modals/mcp-editor.html"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"578881a5f7fc026c4c429d441fae16da0ee5bf97b0fd4bdca07100b2750e4fbd"}},{"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 for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/templates/modals/mcp-editor.html"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10183e89ea16d3eda476c4b4e70e04a3f3951e1f9b62a22f97978f6e123e4ee"}},{"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":"channel/web/templates/modals/menu-editor.html"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"93526c285bbf10d5682f3c516fe75ab70ea716386abb5612d7705f06dea053d6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/templates/modals/share-dialogs.html"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"b579dbc27a27c06baad44557214789ecf5c81b039486bc658c26e38dcaeefce7"}},{"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 for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/templates/modals/share-dialogs.html"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e16288f124c7b2d48e27a13173571906af0d5618a0cb943c5f85914e3c8fee3"}},{"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":"channel/web/templates/modals/skill-add.html"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfa538f7f744786ff2ee22c1ce0d0fa9074da97f12ead9a1b92b49cca744c88"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/templates/modals/skill-add.html"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ed4a15550e98d6be630aef55e23314d891c0259b0556081712307b0456bc71"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/templates/modals/skill-add.html"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc9c33164864e00a4a67a2522e52931a729e6b428313fa5f3459d27a08587df"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/templates/modals/skill-add.html"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2afda31be650fde2638ed65fe544dac412a90ddbe58503f0463181f3ac71d0e"}},{"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":"channel/web/templates/modals/skill-add.html"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90ebcdd398fe3f25ac533be36a9d85041b239121091bda7529755792fb36ca0"}},{"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":"desktop/src/renderer/src/components/ChatInput.tsx"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc8d6a773baf47c66cee58aa5a5a8b041b9d49f069eb5c20b88419b039a187c"}},{"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":"desktop/src/renderer/src/components/ChatInput.tsx"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59fb5844099acb2b1cf2c6568fbbd5d0f7f85a79537c097351571b7e622e82f"}},{"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":"desktop/src/renderer/src/components/ChatInput.tsx"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"5539cac2650b0ec0762bb245120ce8c102ef11ba40089a11f0c5384e646fc91c"}},{"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":"desktop/src/renderer/src/components/ChatInput.tsx"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b09ab3a89046271b189d715e639adef67ca1330be733d67f1470118e7bd63dd"}},{"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":"desktop/src/renderer/src/components/ChatInput.tsx"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bae769dfc75db86fa34429f48e7b1b398221a4fbefd14f1034c732fc0de933"}},{"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":"desktop/src/renderer/src/components/ChatInput.tsx"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"455efdc085a5b4735aaf320681cefc31824c3edbb01094e80ede2f86f0887eae"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/DocEditor.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cb1a769eacb4ecd2310853da3cf404254d9dd064c3b37a784f7a68612e2d5e"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/FileCard.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0db51562cf06ee0108ba16520ed088d9876862543b486d3f7eebdaeb6934f8"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/FileCard.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c397c6c3fe5d68505fc718760bd641a52e7b406394f69c274981dc035fadf3b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/FileEditor.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"adaba1b52a7ab815db8e8433b4c6f242c7117320ac137878de18f1d7425b2572"}},{"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":"desktop/src/renderer/src/components/FileTree.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b656ae2c82963ffd13072176156d4c92190618cad508d1b20ba5c7f8cc7ae642"}},{"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":"desktop/src/renderer/src/components/LoginGate.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9498ca8b670274091edd84c7bda0e7a658bd2be8f9e5fe616ee02a86b5c8685"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/Markdown.tsx"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf4005ee9b662b2c75fd54bfefb188c95ebb189f37544c9cfdeb8b082f6bcc7"}},{"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":"desktop/src/renderer/src/components/MenuEditor.tsx"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a66d78a496ad7ab9584781beab1641568cff19217d20de198083ad5881155c0"}},{"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":"desktop/src/renderer/src/components/MenuEditor.tsx"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd4f5ab65d2a276d97ce7babf9d51a2efc064e8b91b8f659caf9a9fcb57786c"}},{"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":"desktop/src/renderer/src/components/MenuEditor.tsx"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d292b792b318a0026487595de7eb0155d698166c1d94689266ead58fe6e218"}},{"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":"desktop/src/renderer/src/components/MenuEditor.tsx"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"9412fb4679b7ebaf02e456eb2975332701986bd4932940f003a9729fafa2f68b"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextInput\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":"desktop/src/renderer/src/components/WorkspaceSelector.tsx"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ed68fea3689b339d2f9af217db1cbb91edf8c930b11372f3e0abd8a1f842fd"}},{"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":"desktop/src/renderer/src/layout/SessionList.tsx"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1f39ee14369a13181fc705dbd497cf2098f45084677976e1b101221d39167f"}},{"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":"desktop/src/renderer/src/layout/SessionList.tsx"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"a943008de2026511e566082e96655e51265250d519742bb89ac2734541119a5d"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextInput\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":"desktop/src/renderer/src/layout/SessionList.tsx"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"f768d969e41c262bb71e76f97c245721334f443c8f4b0f5c376262cbad29cb71"}},{"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":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a79b9d103685f0f65b39f076305d70382ec88ad833be6154fb6f84d21733ea"}},{"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":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbcab8ab5548f8ab60828c35b45be3ae4f289ecc8a8b1ef6ed58ab074bc8bf0f"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextInput\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":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"fabfaf2ac27bcbaf7357d4013016340152d68a0bfc1f92aead960fd9a6c47113"}},{"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":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a30f34d81214ee10123da5c69ee1d290c8260a66bc8091ea310ea8d02a0ca2"}},{"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":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"7def671c6d61603d7cc810ac4f6e546b453f80ef5affeb46165e1e5cca90790d"}},{"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":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbc423629635e10ab88c0b1cd52bf63e188cd20c698227eb9bc75afed412e81"}},{"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":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"067442b6160883380037cf17b5a1f8a3b8385e8761fb3a734b67c91a2a03b7ba"}},{"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":"desktop/src/renderer/src/pages/ChannelsPage.tsx"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c688212d4e3ee8fecebe24c8d49760ee5301b85e4ee297a5212f32eb44f6d49"}},{"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":"desktop/src/renderer/src/pages/ChannelsPage.tsx"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cc17fa34cc652e6d03a03f9463050c8b42b7db858bc54b8010f86b9a1d7a20"}},{"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":"desktop/src/renderer/src/pages/ChannelsPage.tsx"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a0810ade56201802b226f373b34e3308655eb9a21b2972dabbaef4cb8efb42"}},{"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":"desktop/src/renderer/src/pages/ChannelsPage.tsx"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0130f6c314da79442ba0fde70082fa15f2322e4626ce87b04ad8f0d9cdfec66"}},{"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":"desktop/src/renderer/src/pages/ChannelsPage.tsx"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10d3ee55af1e38233529a18baef6e7b264b4648fcd44ab434eea3314293d8ca"}},{"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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"54773165c70870f020556a30e6b4dc5eb1c493600f61a81ea50d6f54f1bb7ff9"}},{"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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"50118823df5e0d8af506c95667cd7ad4137bf49d67b129c656cc72e8aff79106"}},{"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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"02119e08f107447f9e357415882be3c7b50fa0f3aabae5c087dce87162a08863"}},{"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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"7666ac61427350ee9b28e66ccf3bfa1489bcd7a0b7409e9910dcf003ecee7a95"}},{"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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"effd53944f9d8dc99aaa5e4a59fa67f54758cadf47348624052d83a7c4605f87"}},{"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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3fb2e10b8dea7d03c61b766dd27d9445666178512d63e43ae9ae044f673578"}},{"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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"109a4f199c457e86e15f22ea93f1ff005fef539e7dd3131d646e13cd92a75ec7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bc97eb82f0135632ccbff83f81c5334a680bd85c7a00094f2cf995c51edd0f"}},{"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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb19bb3b3cdd69871330b00200e0320ebd0c4d7b3a0e47286e725684fa39925"}},{"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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a06938beab3181d86a88986d7370ce704bea8220cc0e11769826bebdca7ea95"}},{"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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3cdcd3e63be0c52104d39fc9ccf905937afe12146703be60c1338c8b732b4eb"}},{"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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec0d18bfc3a9d68f5064b45e35055eb506ff59af951d98bba374dbb1e3bead3"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextInput\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":"desktop/src/renderer/src/pages/settings/BasicSettings.tsx"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b55cbd11c7a5cfb0a67509427810487668b3533b1481770c420708a29ca445"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextInput\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":"desktop/src/renderer/src/pages/settings/BasicSettings.tsx"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48e5127898fadcba11c448505afd647bb4c424b851314967b3ee18a1744103d"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextInput\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":"desktop/src/renderer/src/pages/settings/CapabilityCard.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad359605379cce8bb4b91b0509f903b04fb7ca037e64d9b97377e3a8a3eac07b"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextInput\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":"desktop/src/renderer/src/pages/settings/CapabilityCard.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdc70f55a33b84ddab47a129957d3c1f6d70afe346e25f084289becb272c3d5"}},{"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":"desktop/src/renderer/src/pages/settings/ChatApiCard.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d50b808a4e3398336995cf35ec03800e327cb6c1f003172cb310b363c3625c7"}},{"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":"desktop/src/renderer/src/pages/settings/ChatApiCard.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"576299166b49f90630600f2a7787114da47177fdf7f573d976838a3c6300c217"}},{"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":"desktop/src/renderer/src/pages/settings/ChatApiCard.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d8fa4fd73da7798bbfb22088d180f7266489353640d30557b9c0628af5e087"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextInput\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":"desktop/src/renderer/src/pages/settings/ChatFallbackCard.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"999ecba524074ed535a75ed8fa15445806c35c1b07ded09c89aae67b25319d00"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextInput\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":"desktop/src/renderer/src/pages/settings/ChatFallbackCard.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd8a0c860d3e3b18c21049c14722c3896d190bfd3a1c52baedbee6363c31833"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextInput\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":"desktop/src/renderer/src/pages/settings/IntegrationsTab.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24e9899f733ac9c50f47e013cf1caef681986060cdb63ddd875b066025d78eb"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextInput\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":"desktop/src/renderer/src/pages/settings/IntegrationsTab.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"038e359a7c73ba27640878e23347fb4367152f16285ad08376a611db48b050d5"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextInput\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":"desktop/src/renderer/src/pages/settings/ModelCatalogEditor.tsx"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e865ad72af64790e73cf6aeec7a1218cd5f8cba207992e1b30e23ceed9b2fc"}},{"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":"desktop/src/renderer/src/pages/settings/primitives.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfcbbd5ba44983ee9fe7f5d808c8999ffb5b0fffc2101245fa484f2cd7d3a6c"}},{"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":"desktop/src/renderer/src/pages/settings/primitives.tsx"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4966b5c8acce07d31beaf75767dd5ac779588ce0bb923806314542dae9ec210"}},{"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":"desktop/src/renderer/src/pages/settings/shares/GuestSharesCard.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94fef33c3fc99de6a35a51fa89473ad6cd009df994dab68eb12067800fc728e"}},{"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":"desktop/src/renderer/src/pages/settings/shares/GuestSharesCard.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a74f2df306fcfe6dd1d71ba0ae131646bfd885004e9acefa6923b8c9f04acd"}},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/shares/GuestSharesCard.tsx"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d152ff580737ef2aa0aa8add47818a962e2dcb1eaf4ee71ba393d67101eea6b"}},{"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":"desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f82420f79b16dd3965cd9eee9d9cf8d9e2a1035cc51dd6732af5b18775d5e3"}},{"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":"desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8b115076722ea58c14004deb8b82f07efd0fe25a84b3c01c2a87c1848c8e15"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextInput\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":"desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"a211ac0dc25cc7bb079c95eb0376f385dcd00781c64340503a4ac26d1d08a0f0"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextInput\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":"desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8a04b35686a90ed82cb3dfdd4742ce8890c044f4e66cde76119c06b9204578"}},{"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":"desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6deb84d6091ed3b07cb9597ff5fcd6f81293cbcf6fd9088d6959e6b9a8d40e"}},{"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":"desktop/src/renderer/src/pages/skills/McpEditorModal.tsx"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"9841589d21c92cf6587016e406f1395df47fcd3881c6a73eb81a900ac2eae136"}},{"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":"desktop/src/renderer/src/pages/skills/SkillAddModal.tsx"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f461056809758134fea32d00b1405e715692f4a3228501cc5bcbda7bd670f8f"}},{"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":"desktop/src/renderer/src/pages/skills/SkillCreateForm.tsx"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78e3874ef6815c43d311e024bfd3ef547c3a19394fe281af5f387d0fb16c4da"}},{"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":"channel/web/chat.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ef95f2f3f2df8d82fd215a729afc46e91d12e0aa0dd9b85cd4c1f6fe5cd761"}},{"ruleId":"AC3","level":"error","message":{"text":"Document \u003Ctitle\u003E is empty: An empty \u003Ctitle\u003E gives no page name in the tab, history or screen-reader page list. Put descriptive text in the \u003Ctitle\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/templates/guest/page.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"628f6dddb93b6bdef0cfc85bb93035634b8b5e964a92e7355792e412c33b419c"}},{"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":"channel/web/templates/guest/page.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"18db698056bbd4b1721a92cb511cc5bbfc8ca302c728afd617e698ff327b8548"}},{"ruleId":"AC3","level":"warning","message":{"text":"Empty \u003Ch1\u003E heading: An empty heading appears in the document outline announced with no text. Give the heading text, or remove it if it\u0027s decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/templates/guest/page.html"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e27792b23c38166d08d01db8685036111ab92c5b0d1c5e36879ffed5a8d6d6a"}},{"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. This document\u0027s body is only the mount point \u003Cdiv id=\u0022root\u0022\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b667bc08093b667ddea2d24c4f0eea098729be34778118c87195a97f6b0424"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .tool-header with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/guest/guest.js"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"df154a3dee8ddafd43864a358c52fcd52e28ed705a0760770dd5b66eeb3161f2"}},{"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":"channel/web/static/js/chat/render.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c890e9d65f1a12169899ed7527e545375aa60b9a87d366622478c8062bb8c5"}},{"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":"channel/web/static/js/chat/send.js"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"416979efd37823b23549060f4004c5e94e36a2ea4da176bf83a31e13511d909a"}},{"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":"channel/web/static/js/chat/send.js"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d80373c19c20939830e72489297939cac55ff3cd1c289f1480283a65fb537b"}},{"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":"channel/web/static/js/chat/send.js"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd42a38be0f5ab96a657c3d0b679914ac339b6f34374081782975f678110d64"}},{"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":"channel/web/static/js/chat/workspace-selector.js"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9afcdf787de7bfc15c569425a27975f47b2ed0536de4b1177e957b72ec61c9"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\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":"channel/web/static/js/chat/workspace-selector.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"3899065a631320181f1ef22696a5ddfec772b0006c643110529b0cc25be2d2d1"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .composer-menu-item with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/agents.js"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be28e3d04a3b934945890e1d6a6509dea4f211c3f03a2423c8af80cb78ce661"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .composer-menu-item with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/agents.js"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82071fc38738050890e7cc50da12f1362406dae5cafd1346d204418c5a0984e"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .cfg-dropdown-item with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb71818408be171bbb06188f53b104461977973ef4f5ce76d8a10e4dc1a0415"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .cfg-dropdown-selected with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels.js"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc806719db27eef8959d8a19daadbf51b15e8f4b7f13f7a6914496c225515de"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .cfg-dropdown-selected with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"0435aca08a813b2eda536213dcd8b0ffa8c120f27a07dd7222b5d8be2505d61b"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .cfg-dropdown-selected with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5a1def299188902ec880e83dc65ee9df752f6953800131d0cfe371e46bef42"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .cfg-dropdown-selected with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"7798c6ff62b33d9fca506d982a6de835f0db41e50a52915c8be86b9d2a90c619"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .cfg-dropdown-selected with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1245}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5784885281f7718006368281ccab7a893ae45955a5bce929ffeb11a49bde38"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .cfg-dropdown-selected with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7da00ef5696cec1cd3ccd9e00ee80799281a7365a972fa646f7e8a7ce95134e"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .cfg-dropdown-selected with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1330}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81e017413cab6bb56206ae2b157e8bcead3416511664c832d8dfc0956d2b641"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .cfg-dropdown-selected with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1459}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f10c536c1e03e8273755970ac0a6e97f98faba22f1b92624b9e3b7eace9c39"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .file-card-btn with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/workspace.js"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44d941ef048b18b1cfb4f4864906dab89b16c1c1e1db27fb95312baa1a5161c"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .crumb with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/workspace.js"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf5c023718d2b60b80716913edb9478d6bce7c46465cd5f1d6fba08abfe2ca7"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .crumb with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/workspace.js"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef89550cff3497c8cda3247cc54312308ffe70fcd36f9c12102c60bdf288338d"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/templates/layout/sidebar.html"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae9a4b569fb945e104cf764a3219c00b447f8e5739c274b56d5be1d92547d3b"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/templates/layout/sidebar.html"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ec36c66b4b0e09a37b9906868554c0de41f3fc93f3346bed2ce7ae863c726b"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/templates/layout/sidebar.html"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3a39ea387fdd8e95bec5f46f2be38bba493da809ce1bec8ca2d7c6a15015dd"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/templates/layout/sidebar.html"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e729245068855f42cd7e7a21799f67f05b1c1a96ce55028dda07d5b4d4fbfd5c"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/templates/layout/sidebar.html"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e1f336bd300c4560c3a782330bb807db6ef876eb0cedff93524be014190c6f"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/templates/layout/sidebar.html"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1441148e065e080dcaeb3b8c7953d69892f9cab5b1765b828018075b6dbceba0"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/templates/layout/sidebar.html"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb65561741881ef8f228e2b42587dfad5b45199b904c2a6c4143890e4c441937"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/templates/layout/sidebar.html"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0474da2cf381a9a56647872dbfd955310a8574fe0b85a03729073692cab1a6"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/templates/layout/sidebar.html"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bab24cb8ab677d4af5af43ae403624b83e5f8d8f7abf0b3e753c28f3da5b36e"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .cfg-dropdown-selected with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/templates/modals/mcp-editor.html"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf960f946dbd2a559d8cf5832617996209a2363c5b61d00eb43789a7adf14372"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/templates/modals/menu-editor.html"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a7b4b3c45de2cbe27eda591cc103ff5651a6c38713465d16b275361dbbbd27"}},{"ruleId":"AC4","level":"error","message":{"text":"Hover-only interaction on \u003Cdiv\u003E: This \u003Cdiv\u003E binds mouse-enter and mouse-leave and nothing else \u2014 no click, no key handler, no focus handler, and no tabIndex={0}, so it cannot even take focus. A keyboard user cannot hover, so whatever the pair reveals or highlights is reachable with a mouse only. Bind the same state to focus/blur as well, and add tabIndex={0}=\u00220\u0022 so the element can receive that focus."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/ChatTimeline.tsx"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ca79f3a0a60f80de8b195678d33a4897d885f767c5f1914e0da17d024282f7"}},{"ruleId":"AC4","level":"error","message":{"text":"Hover-only interaction on \u003Cdiv\u003E: This \u003Cdiv\u003E binds mouse-enter and mouse-leave and nothing else \u2014 no click, no key handler, no focus handler, and no tabIndex={0}, so it cannot even take focus. A keyboard user cannot hover, so whatever the pair reveals or highlights is reachable with a mouse only. Bind the same state to focus/blur as well, and add tabIndex={0}=\u00220\u0022 so the element can receive that focus."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/ChatTimeline.tsx"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"213fd8b98f1da0e407271fa45f801b8fb73eb09dd60b6c7f266e629ae395d9e9"}},{"ruleId":"AC4","level":"error","message":{"text":"Hover-only interaction on \u003Cdiv\u003E: This \u003Cdiv\u003E binds mouse-enter and mouse-leave and nothing else \u2014 no click, no key handler, no focus handler, and no tabIndex={0}, so it cannot even take focus. A keyboard user cannot hover, so whatever the pair reveals or highlights is reachable with a mouse only. Bind the same state to focus/blur as well, and add tabIndex={0}=\u00220\u0022 so the element can receive that focus."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/ContextUsagePopover.tsx"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fa06cac307aff097eb17bb5d1129779d87a9dfb54921e936308b760d99f891"}},{"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":"desktop/src/renderer/src/components/FileCard.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3b5606909d183c8a2db8330cdbf9354ce17de5940f1ca2b30d6bc1fdf2a204"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\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":"desktop/src/renderer/src/components/FileCard.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"f414ea3424ddc75c14b120905dfeb30de3a6a984ddf8fdc12bffdd624d62ce00"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\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":"desktop/src/renderer/src/components/FileCard.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64960589cd566201ed3e2bae39dfdd607455b0f433e70d070434c6b680637fa"}},{"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":"desktop/src/renderer/src/components/FileTree.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b5238d3727c677c0e59e3ace35fd3625ca7e66bbd2227be56487204d20a4e6"}},{"ruleId":"AC4","level":"error","message":{"text":"Hover-only interaction on \u003Cg\u003E: This \u003Cg\u003E binds mouse-enter and mouse-leave and nothing else \u2014 no click, no key handler, no focus handler, and no tabIndex={0}, so it cannot even take focus. A keyboard user cannot hover, so whatever the pair reveals or highlights is reachable with a mouse only. Bind the same state to focus/blur as well, and add tabIndex={0}=\u00220\u0022 so the element can receive that focus."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/KnowledgeGraph.tsx"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad99b8674e0d4459df18eeb717a08b6b066fdde1dbd87b39e3df5453b415b593"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/Lightbox.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a41f14b8801b6aa02485629d337157a803517c8f728dd990628eb8d2888928"}},{"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":"desktop/src/renderer/src/components/Markdown.tsx"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c24060c86db407db59ea6df676f338923f066eb960b936cb42a94cd26fc73cf"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cimg\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":"desktop/src/renderer/src/components/MessageBubble.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3ef5e3a9abc84aabf862472bcb6f9891f647927fcb1841fc77cbd40315dcb0"}},{"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":"desktop/src/renderer/src/components/MessageBubble.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ef7c3f7530ca660ef644ec37b9f9b964662baff835d8e00f4f54f2bcfff5b4"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cimg\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":"desktop/src/renderer/src/components/MessageBubble.tsx"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8124cfea0cce38353a388e4f6c20b5fa949de29de05fca78be4aec0ee46e0a"}},{"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":"desktop/src/renderer/src/components/MessageSteps.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"792e11e433c948feb01f0c570de443e0652806c72da5b9bd8e57f4bc774d199c"}},{"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":"desktop/src/renderer/src/components/MessageSteps.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97f14f4882f8114c6b9b555a6e59952b22446d257c0bf4e16abab8d0ba30711"}},{"ruleId":"AC4","level":"error","message":{"text":"Hover-only interaction on \u003Cdiv\u003E: This \u003Cdiv\u003E binds mouse-enter and mouse-leave and nothing else \u2014 no click, no key handler, no focus handler, and no tabIndex={0}, so it cannot even take focus. A keyboard user cannot hover, so whatever the pair reveals or highlights is reachable with a mouse only. Bind the same state to focus/blur as well, and add tabIndex={0}=\u00220\u0022 so the element can receive that focus."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/ThemePicker.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bfc3b3bc086bd345c20da3b7c8c7db729553cb466735f2ff688ea2d873e45f0"}},{"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":"desktop/src/renderer/src/components/ThemePicker.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c6247bd5b88f970f7c91fe199df64cb80417b466aa10daa8563d2606220bd2"}},{"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":"desktop/src/renderer/src/layout/SessionList.tsx"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"734b5870e4cb0e7dd19a36ef5d76ecb9e3a37b8104b57880b1d0d665a44076d9"}},{"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":"desktop/src/renderer/src/layout/SessionList.tsx"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"a610fcd0caf8d326ddf14e5434a6da49cd6cb9d528040ea9524c1a4e9a8c1534"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ctr\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":"desktop/src/renderer/src/pages/MemoryPage.tsx"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c400ec67ada12da05d5ebac0b6f34ce7d427a935fb6c63f7433ea774c025467"}},{"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":"desktop/src/renderer/src/pages/SkillsPage.tsx"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c35a67336dff448d91591dc993c47ee59307f61df9358bf320f463fe67232aa"}},{"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":"desktop/src/renderer/src/pages/TasksPage.tsx"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"1506614d7ec21d64c518cbab72b3309e7fc348918ae28079d64ff9246fe2c57f"}},{"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":"desktop/src/renderer/src/pages/TasksPage.tsx"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"575add027f0c9a8a24feb96d955eb89e442b365dd2a642a808f33a24fa4664f5"}},{"ruleId":"AC4","level":"error","message":{"text":"Hover-only interaction on \u003Cspan\u003E: This \u003Cspan\u003E binds mouse-enter and mouse-leave and nothing else \u2014 no click, no key handler, no focus handler, and no tabIndex={0}, so it cannot even take focus. A keyboard user cannot hover, so whatever the pair reveals or highlights is reachable with a mouse only. Bind the same state to focus/blur as well, and add tabIndex={0}=\u00220\u0022 so the element can receive that focus."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/primitives.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"99610327fabb657d98a565fc6d4b6851c5f7e0624a2ffcb3086d5a3199c1eb9b"}},{"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":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"618e88a635234a3cd8227d85a8c78942c6051ba57b8333d074ce1d2371f56e55"}},{"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":"channel/web/static/js/views/channels-wecom.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f12de99ee9b0a5d2e16a0d7fc5caf1784816c270ec746ffcc9404c085bab63"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.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":"channel/web/static/js/views/channels.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd55d49bb1a358e55c0fd96be28a5cd3eaa9a314d749e340f64777fc648c9b2"}},{"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":"channel/web/static/js/views/channels.js"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"c627135492728a5364b961e420579e546737aac6ae3ffe3bc11f77353d8ff8e4"}},{"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":"channel/web/static/js/views/channels.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"5204355f9bf8db283824beaa44bd362c9944c2e8d5692359536f79aeee71ad38"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.6: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":"channel/web/static/js/views/memory.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f32ed6f3ef1959e1b619df3d7306401b0bf6d0e78dbafb8d88dead65b6f6d1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.3: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":"channel/web/static/js/views/models.js"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46f2d180b10f107fcd25c5463148c8d8a34eca1dfb44f3257bc79f83c281116"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.6: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":"channel/web/static/js/views/models.js"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53a71db37879bab72f3314c7ae014dc6a06d8069421b81943fe20108900a2f1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.4: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":"channel/web/static/js/views/models.js"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"5409b2949b2a9e989aa05a95cc07c66bbe32119d50aa715cce0e579fb99cef76"}},{"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":"channel/web/static/js/views/models.js"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4da8e9811acff02858cac92994fd266beabead091b218b7584ff3289c38ca4"}},{"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":"channel/web/static/js/views/models.js"},"region":{"startLine":2355}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bc1bf5b6a15899be3f32780f653bea91aa4e212235c6f9c281ba23dd7205f0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.3: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":"channel/web/static/js/views/skills.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52a9b52596a67b64ba058d52aa5e6418bfb53857ab9534fe03a5c39ded8cf94"}},{"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":"channel/web/static/js/views/skills.js"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dcda12bd7e06431aad5946d9b67a68cb5cf0adf6d23e3b7a4030de3aba4085e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.4: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":"channel/web/static/js/views/tasks.js"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf2d5b5d99f5a7a725dc738a1c8ac190636a13b61ce6c3cb4d83c29ccc69cd7"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.4: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":"channel/web/static/js/views/tasks.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"197936ddd891b80d7bcac4f0146b844dc4be959b61f5cf7ccb5e179004e7f423"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.4: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":"channel/web/static/js/views/tasks.js"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cc472a047b92756a9e66a962cd2193f2c8de36194ddcb255c90eae846bf3dc"}},{"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":"desktop/src/renderer/src/components/DocEditor.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be193736864231bcd336969b588e4574304d6eb63b4a10ed258709d0981c493"}},{"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":"desktop/src/renderer/src/components/FileEditor.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a044ab5e709a4cbcf902fe0027d31f497a8e91928564d61197285ffc6b74d07f"}},{"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":"desktop/src/renderer/src/components/FileTree.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54d49b4e48fb69e3b53c4828da7461fc08924b8c6b394b1d1cfaa820c1b3866"}},{"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":"desktop/src/renderer/src/components/LoginGate.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a605ad3f60b5287a828b89ed3dc9f09a95f6f391e0fce3326913350af2d8970"}},{"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":"desktop/src/renderer/src/components/MenuEditor.tsx"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"254742a76933f34e6e9446186f14ccc1a40aae5c6e699abf055d3956688ed465"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.3: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":"desktop/src/renderer/src/components/StatusScreen.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e96f6f0008547f91156d1fcefdd611d3e56513e692cfe80d2eb1ff9f981f691"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.3: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":"desktop/src/renderer/src/components/StatusScreen.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbbdabe857b702e8700d159a64da679d62e681bead95664c421168ee54998ec"}},{"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":"desktop/src/renderer/src/components/ThemeAddModal.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1942142a63894da2bd23fc42df2ab924fbabc383d194e8e4ec315e3e8f598d9e"}},{"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":"desktop/src/renderer/src/layout/SessionList.tsx"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30e3036da8ff0a77db3365192b44149680d79b2d3aaf63d1ea7751500266ae2"}},{"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":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"5405734e9dba347fcf574060d3ae1e60720006455840aad190335556c8c0cc4f"}},{"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":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"0120244ea63d34560047abbf831ceef20e93a1795e3748fe56c67d13965e0a84"}},{"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":"desktop/src/renderer/src/pages/ChannelsPage.tsx"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"6337ee1b01e5296c60468371d7d94f96dd16d9fccf45ad848ee7512d1a5a4c07"}},{"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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e04903fc06a1274eee28a34b5ccf2a390eb683f891a00c9e286069ffbf1775"}},{"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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e625e93212bf9203a0b8597dfe619bc41a50d98533daecd8e4aea902b3d7401"}},{"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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b0bade4ac81940b0accd27242f153e9526b694bbef7e5810b5228855f26a8d"}},{"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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"3778c31bd633e5a31bf2cbf4300947dc96f139d8cc001f10403a201ef19b7218"}},{"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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e976bec775f4ccb68361df982f52210d1ff71e5d1a3e7dd2c30a1d3c5d22df"}},{"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":"desktop/src/renderer/src/pages/TasksPage.tsx"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"64bdc4401e371502993900149f577b843b758f55eec4a0c387b81e2a7e1f54ba"}},{"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":"desktop/src/renderer/src/pages/settings/primitives.tsx"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff31dbd365e34451dcca4243ab8c34212f986a9cab84e2e579c2465e6cb1cb7b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (1.4:1): \u0060.art-ph\u0060 sets color: #cbd5e1 on background-color: #f8fafc \u2014 1.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/index.css"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3b0b979ed09d3f38bdc2e6fd73bc17b85ba45f14c78471311d2091be14f958"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (1.5:1): \u0060#send-btn.send-btn-cancel\u0060 sets color: white on background-color: rgb(203 213 225) \u2014 1.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/css/chat.css"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94fddeb602fa3d92b5483a146cd02cef84c1d174a678866c5386dd0ea0203f5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.8:1): \u0060.confirm-btn-ok\u0060 sets color: #fff on background-color: #ef4444 \u2014 3.8:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/css/components.css"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"271cfe5fab03407fa172b66b3b9be54e9e9e67d6543f57b413dfb3b39e4b6d1d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.1:1): \u0060.cap-empty-icon\u0060 sets color: #F59E0B on background-color: #FFFBEB \u2014 2.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/css/components.css"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48b203eeaefeef97769e2c84b11ad23eb7eb1eefdfeb445442618d3996b0004"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.4:1): \u0060.share-q-row .share-icon-btn:hover\u0060 sets color: #ef4444 on background-color: #fef2f2 \u2014 3.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/css/shares.css"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"9634de6f149ed229140bac22f7c16fd5a4a127cd7158ef0f65c6172a1fdb4ab6"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.art-search input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/index.css"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a24493901151c64b77c2370abf38baa494ea63bf366426ad4ff1b55e512997"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.art-name-input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/index.css"},"region":{"startLine":1173}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01ae2a46329897fa33fed85ac8e472541377636471a2d59b0f3b52d79fa9d99"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.art-search input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/css/artifacts.css"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb1031f39640de85c4ae2bedf7e8f97fb696c01a0f4594a571908b834b62fd7"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.art-name-input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/css/artifacts.css"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9715504210bb761515be4a5ec38bf55af0048b46acf5f167e5ca88fb937813a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.composer-textarea\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/css/chat.css"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"001b675ab241af881a363769a822c60bcf0886b636a5f1d9eae93e7e1d707953"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.me-art-search input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/css/menu.css"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80433b4d012e3b58ee040feda0dac702aaba89686ca5dd45f4eff9758d89dd9"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.session-title-input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/css/sessions.css"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bccdf6bc8a211db7e4d0adf4a0e26d8daba04bf725977ae650f3b2c57c34cca"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.workspace-preview-content .ws-editor\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":"channel/web/static/css/workspace.css"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4c77e1d2171174edf9fee509948c3840590d7825ad28611f8ff82420b6b10d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060textarea.doc-editor\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":"channel/web/static/css/workspace.css"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4daf5617e436aad8dfb27c2a78553d881efe60882eb1525a09717edd3352dd"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.workspace-search input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/css/workspace.css"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"632532f8a93a49a65686dbd2cbe06d3a9b62840845081c642a0cfe54910fafa8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.agent-avatar-picker.is-uploading .agent-avatar-picker-preview::after\u0060 moves (\u0060animation: agent-avatar-spin .7s linear infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/css/agents.css"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cc4e91b53e8eeb2aa6b6ae59f67d415816a5c54ca22dde4da6cf9c3306986f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.art-thumb\u0060 moves (\u0060transition: border-color .18s, box-shadow .18s, transform .18s\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":"channel/web/static/css/artifacts.css"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f941d89cdbb88120b3546d0947ab88a9ce556dfafe1c743ef6a7b1dd8239258"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.art-tools\u0060 moves (\u0060transition: opacity .15s, transform .15s\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":"channel/web/static/css/artifacts.css"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"114b24ae25fc9a99cdfd322d3bb9ec20b4acf1522fafdee33ec89b7318d87801"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.art-tool-pin i\u0060 moves (\u0060transition: transform .18s ease, color .15s\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":"channel/web/static/css/artifacts.css"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"6862a51ad47938fcaaf0afd61c75608dbda4d170c03d937afeb8e40cacd0c940"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.art-skel-day\u0060 moves (\u0060animation: art-shimmer 1.4s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/css/artifacts.css"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18b154cfe58a0c107982c02133f7f83c8030d355c056398e20d908498f01e8b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.art-preview\u0060 moves (\u0060animation: art-pane-in .22s cubic-bezier(.2, .8, .2, 1)\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":"channel/web/static/css/artifacts.css"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c783e2488a110861b8699cc92d40819db1a6b37c6d04f4f09b594b8f3966e3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.art-toast\u0060 moves (\u0060transition: opacity .2s, transform .2s\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":"channel/web/static/css/artifacts.css"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4da57175990787d56e9253bb6747cf5928c859856add1f592fb9222f4789347"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.menu-group-items\u0060 moves (\u0060transition: max-height 0.25s ease-out\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":"channel/web/static/css/base.css"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a174da592586260f37c7cab647e720691db5079a0324afc577e355fdf9d8f6"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.menu-group.open .menu-group-items\u0060 moves (\u0060transition: max-height 0.35s ease-in\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":"channel/web/static/css/base.css"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"496517da2905d865dca2d640a77ebb066341c1a72b183628c7be94d4a670d725"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.menu-group .chevron\u0060 moves (\u0060transition: transform 0.25s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/css/base.css"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4354bb953a2e575b176427f47684a8a82b06042613da45c11ae2a7de421bec"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.composer-menu\u0060 moves (\u0060animation: slashMenuIn 0.15s ease-out\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":"channel/web/static/css/chat.css"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"06caadc65f4b1aed1e25064ccdb5f112879f29a3274d2ee1fc35c63e60e00dc7"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.attach-menu\u0060 moves (\u0060animation: slashMenuIn 0.15s ease-out\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":"channel/web/static/css/chat.css"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bdaa0b83a28828e1111cdf066474186bfc1fc7ad97d1bc2ef751ece8de93acb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.placeholder-card\u0060 moves (\u0060transition: transform 0.2s ease, box-shadow 0.2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/css/chat.css"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"2439c810526abb9facb6366ded187ffe4e8be291ddeeb4b47e79ee0821f08257"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.slash-menu\u0060 moves (\u0060animation: slashMenuIn 0.15s ease-out\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":"channel/web/static/css/chat.css"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32c9e1f2d0ade6eb51bdf98795dcc87eb454098859da8151d7f5a7306cab2b8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.ctx-spinner\u0060 moves (\u0060animation: ctx-spin 0.7s linear infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/css/chat.css"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b029031509673193c49da3c449ee3d5d3f1ea53ce3c20147fcea6097fc27463"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.voice-pill-btn\u0060 moves (\u0060transition: transform 0.1s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/css/chat.css"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58dfb7358833f40c0ce9a1e09991e11d2765956a561f57546295ac418079711"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.voice-pill-fill\u0060 moves (\u0060transition: width 0.1s linear\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":"channel/web/static/css/chat.css"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"9665d11f1c7572fb9319643032b41c03ac8a9172ba37fb4c9ca1d6d9afaca512"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.drag-overlay-content\u0060 moves (\u0060animation: bounce 1s ease 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":"channel/web/static/css/chat.css"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"3833ad739068c28d4a12f3a156b92466e6e3d2b3821437b2b7df8be8e09b4db1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.chat-timeline-panel\u0060 moves (\u0060animation: timeline-panel-in 140ms ease-out\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":"channel/web/static/css/chat.css"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe544aa11d06006b696cb9c07c89b02f5f0a1d66fa704125e5b0e5f0b4fe33a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.chat-timeline-row-dash\u0060 moves (\u0060transition: width 150ms ease, background 150ms ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/css/chat.css"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9536815b91e444ccd4e8f444fc956ac289b717721734412a96fe4912211d7db"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.chat-scroll-to-bottom\u0060 moves (\u0060transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/css/chat.css"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c0698cbc32f1b6599f9ffa944828ff64e0e19190320ff85d73fd2a72d0e648"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.confirm-modal\u0060 moves (\u0060transition: transform 0.2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/css/components.css"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6cc55ab40499c444494b12d2a5e87d5f491705d79cf08b18c8021fc2f66dd4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.update-menu\u0060 moves (\u0060animation: slashMenuIn 0.15s ease-out\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":"channel/web/static/css/components.css"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6fd89f9b422f797e5d61e0262cc5139688d8c375c6c3ccdbaf541a6c8d7b72"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.fa-spin-update\u0060 moves (\u0060animation: fa-spin 0.9s 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":"channel/web/static/css/components.css"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ec183110224989d4ce3389a7e0ef82dec28c6b122bfa7c63c6d6f475f98f10"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.cfg-dropdown-arrow\u0060 moves (\u0060transition: transform 0.2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/css/components.css"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb3a877e19eda00bfdec617930e6612b3a6691cfb18c3e3363f68a68abb5fa3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.knowledge-tree-group-btn i.chevron\u0060 moves (\u0060transition: transform 0.15s\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":"channel/web/static/css/knowledge.css"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ede0375ae4939e47da35008ac2dada1cbbe7b6a1aefd72651fa1a686083eee4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.agent-thinking-step .thinking-chevron\u0060 moves (\u0060transition: transform 0.2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/css/markdown.css"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"0793847c7b018a35a0a559dda63fb633a00a54dc55d2e7f439da568b606e3f15"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.agent-tool-step .tool-chevron\u0060 moves (\u0060transition: transform 0.2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/css/markdown.css"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f6166b7e219617a069ceff65a68c1e52a1f27061985ce805a89578292f9771"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.sidebar-collapse-chevron\u0060 moves (\u0060transition: transform .2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/css/sessions.css"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d2dff0a51aa53aaeac79861e8d3ba5b1cf5244c645ee5ec6898aa59fd54e9d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060#sidebar\u0060 moves (\u0060transition: width .2s ease, transform .3s ease-in-out\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":"channel/web/static/css/sessions.css"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62395a5ebddeafccfc5d8fb2f045d12a34b47409ea68f37cf10d55d1204fcc1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.session-panel\u0060 moves (\u0060transition: width 0.2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/css/sessions.css"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03cf6880b4b018ad5de8a34670f3dbaeb24e8ffb025932f6a7146ffa3fb5575"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.session-group-caret\u0060 moves (\u0060transition: transform 0.15s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/css/sessions.css"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e34f16df9e7112f75c5844d6b66b2da822d4cef3eee89b637c312304252161"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.share-preview-panel\u0060 moves (\u0060transition: opacity .2s ease, transform .2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/css/shares.css"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"476117e1b53472de367513198e9ac31af8a70d9f724f76c21bb714177b7886e2"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.share-preview-btn\u0060 moves (\u0060transition: transform .2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/css/shares.css"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"07905a0c75b03d869c30d60341ded56413c9a07ae8a4a217622b7909b8984f42"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.share-swatch\u0060 moves (\u0060transition: transform .12s ease, box-shadow .12s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/css/shares.css"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3fafc1e2a933f4f6ff22df606977a0754c49804b66ef92e40e36322964a272"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.color-theme-menu\u0060 moves (\u0060animation: slashMenuIn 0.15s ease-out\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":"channel/web/static/css/themes.css"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4485ef30e204dd2f0350db7186018e85321a4b875fdf039ae978d8d426476d47"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.workspace-selector-menu\u0060 moves (\u0060animation: slashMenuIn 0.15s ease-out\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":"channel/web/static/css/workspace.css"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59dc38af976eceb991d8b294f9e64a5af1c4ea0aa094eb12b0f6b702bcff915"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.file-card\u0060 moves (\u0060transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/css/workspace.css"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c61e348bc94fe563bc6cd76a8cf2fbf62231c206eaf4a42dbc9782677367c4f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mention-menu\u0060 moves (\u0060animation: slashMenuIn 0.15s ease-out\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":"channel/web/static/css/workspace.css"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a10f960f337028d4c5840ebe612133a3d512b553cc1183b4299194b81d4718f"}},{"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":"M3","level":"note","message":{"text":"No src/ separation: Most of the production code is in directories of its own, but 2 application file(s) sit at the repository root beside the build and tooling files (\u0060app.py\u0060, \u0060config.py\u0060)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdf7f5b24e313364d10170a5c2542959902fe0d26ed70edef3eaa10ec5bcdb1d"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/2 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060desktop\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add bandit, \u0060semgrep --config=p/python\u0060, or CodeQL\u0027s python pack as a CI step. What was searched, so you can tell an absence from a miss: the 9 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/publish-feishu-vendor.yml"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060desktop/package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/package.json"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"109b6e49ad10c8e961005c67d0730474c09deb1b5b6fc82be1e4e21f43bbe176"}},{"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":[],"partialFingerprints":{"codehealthFindingId/v1":"db6bab8a28a2145f47e5a4e6683cda39d2ba0296c723238e8057da979ae1c706"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060downloadIco\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/app-icon.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"aecfbe64c43918e97d347419b87e85d3eff947c554b56521ba3f9b04e8fc2e49"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060downloadIco\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/app-icon.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1e68b71490b20d30816f6bcc662ef850041b8afc4d1a267515f4b8ff6a5b62"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060writeIcoFromCachedPng\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/app-icon.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f9aac16790d4e82d738a19cede4d4b1dfc999c75966cb10225d9d51d3d351b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060writeIcoFromCachedPng\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/app-icon.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79865ece1460a3840287ea137e019c77d49fdb356288912c170b691264327e5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060writeIcoFromCachedPng\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/app-icon.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a035499791028ea047761ac93aa64ddd334798c1c9f1917eb7a8477ca23957b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060recordShortcutName\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/app-icon.ts"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48d761b9bbbdf68e6868cbcb1724ebb8642bb12366c88686b95bdb5d125504a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060start\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/python-manager.ts"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f29ce165a70f4507e7e8189d71c0a911025c20944aed1de2fb178b2cbdaa26"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060start\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/python-manager.ts"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"0adccba95792472232e33cebbcd5e2d3ec79321de21f3ad266d5fbfdd3375b59"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readdirSync\u0060 in \u0060ipcMain.handle(\u0022themes-import\u0022)\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/themes.ts"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b6a38e4ef3e2483a7e5636cd596753cb3c36b2054430c631b60fe3687ecebe"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 120 typed \u00B7 55 plain JS \u2014 the untyped files are channel/web/static/guest/embed.js, channel/web/static/guest/guest.js, channel/web/static/js/boot.js, channel/web/static/js/chat/composer-input.js, channel/web/static/js/chat/context-usage.js, channel/web/static/js/chat/message-actions.js (\u002B49 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 2 sibling directories (20 clone groups): 20 of the duplicated blocks reported below have copies in at least two of the sibling directories channel, desktop under the repository root. That concentration is one structural fact, not 20 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 20 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":"channel/web/static/js/views/skills.js"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6bcb6ada48bc3a0620f39624c9ac57f6c94d92dcdd5885c7e038d207c1cd3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 3 sibling directories (18 clone groups): 18 duplicated blocks under desktop/src/renderer/src/ have copies in at least two of the sibling directories components, layout, pages \u2014 10 of them are reported below, and 8 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 18 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 18 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 18 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":"desktop/src/renderer/src/components/ChannelTeamSelect.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ba696afeccaa79c6948f721d69b74c72549ea5cd8608fff81d5e6679eb050e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 2 sibling directories (12 clone groups): 12 duplicated blocks under channel/web/static/ have copies in at least two of the sibling directories guest, js \u2014 11 of them are reported below, and 1 is counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 12 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 12 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 12 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/guest/guest.js"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"911a7fb13ba16e67e17bce44c3169e6f649129987d4890af166f58be38722a7a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 3 sibling directories (8 clone groups): 8 duplicated blocks under channel/web/static/js/ have copies in at least two of the sibling directories chat, core, views \u2014 5 of them are reported below, and 3 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 8 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 8 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 8 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":"channel/web/static/js/core/confirm.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c94628f5bb68dd5686a5c5dfde54a19e56bf674e4580f312c8faabb70c72c70"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (63 matched lines \u00D7 2 locations): channel/web/static/js/doc-editor.js:189 \u00B7 channel/web/static/js/workspace.js:532 \u2014 the two spans are one implementation copied and then locally edited \u2014 456 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":"channel/web/static/js/doc-editor.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0cd92b6395a19f737937a465147d695333d2a9c120923080475e0b03e5466e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (62 matched lines \u00D7 2 locations): channel/web/static/js/views/channels-feishu.js:69 \u00B7 channel/web/static/js/views/channels-wecom.js:90 \u2014 the two spans are one implementation copied and then locally edited \u2014 383 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":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34e88b20c27867623ba2bbbb1ecce4dd63af6c4a2a1790ea713fd1eddb8569d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (35 matched lines \u00D7 2 locations): channel/web/static/js/views/channels-feishu.js:12 \u00B7 channel/web/static/js/views/channels-wecom.js:34 \u2014 the two spans are one implementation copied and then locally edited \u2014 288 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":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a197f27e48441ef8270a358c5faf383c64e2472ea2deb3af76541fa9def2ac97"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (34 matched lines \u00D7 2 locations): channel/web/static/js/views/models-custom-provider.js:129 \u00B7 channel/web/static/js/views/models.js:2857 \u2014 the two spans are one implementation copied and then locally edited \u2014 217 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":"channel/web/static/js/views/models-custom-provider.js"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"78acc49086d3c0af56aeba30fa9579601e39f0ab0a36eabf081634e52dbbd7c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): desktop/src/renderer/src/components/DocEditor.tsx:156 \u00B7 desktop/src/renderer/src/components/FileEditor.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":"desktop/src/renderer/src/components/DocEditor.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"936a3ef4d3961845da701fc3d8c3e9f262b35475fc4aa73b8de68950517b4ab6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): channel/web/static/js/chat/send.js:65 \u00B7 channel/web/static/js/chat/send.js:171 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/send.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca273edf36068f6a29f74aa765a6f67b62aebd4fda636ecdaaa228c8415f7fa3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (28 matched lines \u00D7 2 locations): channel/web/static/js/views/models.js:941 \u00B7 channel/web/static/js/views/models.js:1120 \u2014 the two spans are one implementation copied and then locally edited \u2014 229 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":"channel/web/static/js/views/models.js"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"8635161f6d97afa02f9dda40b49e43f29656f6399b7dccae3873d75c3746871e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (26 matched lines \u00D7 2 locations): channel/web/static/js/views/skills.js:1450 \u00B7 desktop/src/renderer/src/pages/skills/frontmatter.ts:33 \u2014 the two spans are one implementation copied and then locally edited \u2014 341 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":"channel/web/static/js/views/skills.js"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b3c32444403cf7bfdb5373886f70ffa1ac43599348177ca97e1c94ef11b9c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): channel/web/static/js/core/notify.js:88 \u00B7 channel/web/static/js/core/notify.js:252 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/notify.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f89075bfe9c3c563f433079cb9e68ace78bf2d977a63b7ece96d0119453bce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): desktop/src/renderer/src/components/ChannelTeamSelect.tsx:38 \u00B7 desktop/src/renderer/src/pages/ChannelsPage.tsx:318 \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":"desktop/src/renderer/src/components/ChannelTeamSelect.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"db32a8cfb3246fcc9aaaa55e300ada0a61ef6ffc5af948cc4d7cdfb8502f2e50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): channel/web/static/js/views/skills.js:411 \u00B7 desktop/src/renderer/src/pages/skills/mcpConfig.ts:56 \u2014 the two spans are one implementation copied and then locally edited \u2014 193 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":"channel/web/static/js/views/skills.js"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"100afba7684d454786e649761eee5193a0bcbe91ada8f8dc1cadcfadc0c0416a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): channel/web/static/js/chat/composer-input.js:380 \u00B7 channel/web/static/js/chat/new-chat.js:188 \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":"channel/web/static/js/chat/composer-input.js"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c867d5e580eb2435a56152cee0bba5fd29c67fd845d3017ecb810ff5c22939"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): channel/web/static/js/chat/render.js:21 \u00B7 desktop/src/renderer/src/lib/fileKind.ts:152 \u2014 the two spans are one implementation copied and then locally edited \u2014 182 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":"channel/web/static/js/chat/render.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd9c4823d5ed4dfedcc322ca4720b7a6df25cf803194fc40ba05fc54cc5b300"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): channel/web/static/js/core/confirm.js:35 \u00B7 channel/web/static/js/views/channels.js:362 \u2014 the two spans are one implementation copied and then locally edited \u2014 144 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":"channel/web/static/js/core/confirm.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d275b7786b2898bed4ba93f38a3cd8962d11f10cb621c4c27813bfd88de88781"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): desktop/src/renderer/src/pages/AgentsPage.tsx:318 \u00B7 desktop/src/renderer/src/pages/SettingsPage.tsx:46 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 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":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbe4ecf66baeadf646ff3c546fc37e9d391912d4e84b252124e2166bbaa85f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): channel/web/static/js/chat/message-actions.js:50 \u00B7 channel/web/static/js/chat/send.js:59 \u00B7 channel/web/static/js/chat/send.js:163 \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":"channel/web/static/js/chat/message-actions.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"961b0a06a0e95ca93643a7888692d2225a42a75cae3cef704a46a848298fef85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): channel/web/static/js/views/artifacts.js:340 \u00B7 desktop/src/renderer/src/pages/artifacts/format.ts:8 \u2014 the two spans are one implementation copied and then locally edited \u2014 216 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da98158ed007ccc7d3529bf6efa20d646d7007a7f827d6b165f853e71e0ba13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): desktop/src/renderer/src/pages/ChannelsPage.tsx:415 \u00B7 desktop/src/renderer/src/pages/MemoryPage.tsx:309 \u2014 the two spans are one implementation copied and then locally edited \u2014 79 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/ChannelsPage.tsx"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d05c47a7c60b8bcb3e3e9ba11ef903a773c3d9ec9fe1ecde118b4ada06277e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): desktop/src/renderer/src/components/ContextUsageDonut.tsx:56 \u00B7 desktop/src/renderer/src/components/ContextUsageDonut.tsx:125 \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":"desktop/src/renderer/src/components/ContextUsageDonut.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a1d5b2b435ffeb1af20ae18da5aa2048a9e62b759ebe6e71813c183caae7ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): channel/web/static/guest/guest.js:1281 \u00B7 channel/web/static/js/chat/state.js:259 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/guest/guest.js"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"429686fd1293b0e254b8a46fa6ae32588f7e99935c2022aeb95859fe34c216b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): channel/web/static/guest/guest.js:492 \u00B7 channel/web/static/js/chat/send.js:551 \u2014 the two spans are one implementation copied and then locally edited \u2014 99 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":"channel/web/static/guest/guest.js"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"46654db604e8ab2f141b2a1ccb30ab4706db31636b18c9e47977312ad33973a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): channel/web/static/js/chat/context-usage.js:39 \u00B7 channel/web/static/js/chat/context-usage.js:128 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/context-usage.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f113c9a0872d234d34dc592d296f099555e7641b208ef56c4644b850156613"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): channel/web/static/js/chat/state.js:213 \u00B7 channel/web/static/js/chat/state.js:369 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/state.js"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed37e99d25a68951822011f901d6318e60f348e2b6e2e04a935c824f177baf0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): channel/web/static/js/views/tasks.js:70 \u00B7 desktop/src/renderer/src/pages/TasksPage.tsx:342 \u2014 the two spans are one implementation copied and then locally edited \u2014 101 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":"channel/web/static/js/views/tasks.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e944bea425690cbb0f1ee876b7f37a1317fff851dd81f6720828b26e6407cf8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): desktop/src/main/app-icon.ts:83 \u00B7 desktop/src/main/http-relay.ts:61 \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":"desktop/src/main/app-icon.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9e8b2caafb3ddca2aa731d48ec9eb7a05ceea6a8e96e0c61c489511e7082fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): channel/web/static/guest/guest.js:639 \u00B7 channel/web/static/js/chat/state.js:126 \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":"channel/web/static/guest/guest.js"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d7a4c409ea18a727ef3ee317fbfe9d124e4bc253c4e7acee153a298662863a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): channel/web/static/js/views/models.js:2494 \u00B7 channel/web/static/js/views/models.js:2549 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":2494}}}],"partialFingerprints":{"codehealthFindingId/v1":"87cc5681865482f03d4998f641e0dcc001d146d3734f4180925e7a10016d78b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): channel/web/static/js/views/skills.js:962 \u00B7 desktop/src/renderer/src/pages/skills/SkillAddModal.tsx:102 \u2014 the two spans are one implementation copied and then locally edited \u2014 144 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":"channel/web/static/js/views/skills.js"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"167b04f82c2658c0d62bf5a5c83dd8990730132511695590a25669392752b40e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): desktop/src/renderer/src/components/ContextUsagePopover.tsx:165 \u00B7 desktop/src/renderer/src/layout/NavRail.tsx:124 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 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":"desktop/src/renderer/src/components/ContextUsagePopover.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4932629ab04b8603f66ce10d91171f8cb8aa5fcbc99ad711634c18e6d229d7a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): desktop/src/renderer/src/pages/KnowledgePage.tsx:265 \u00B7 desktop/src/renderer/src/pages/MemoryPage.tsx:75 \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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafd4db82f47d8207fbca8c8a76ae5bbe75bc1b478425876324dc5ff99e1d361"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): desktop/src/renderer/src/pages/KnowledgePage.tsx:888 \u00B7 desktop/src/renderer/src/pages/MemoryPage.tsx:204 \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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec8f01cfd2dc52e8ed3bdff5cad845a427540f38ca0f86023c3dfb79b5f57d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): desktop/src/renderer/src/pages/TasksPage.tsx:213 \u00B7 desktop/src/renderer/src/pages/TasksPage.tsx:451 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/TasksPage.tsx"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63ccda57ea81e1a0c549a8095598be7cfaf944766258e537ed8fc1b0aa4861d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): desktop/src/renderer/src/pages/settings/BasicSettings.tsx:521 \u00B7 desktop/src/renderer/src/pages/settings/CapabilityCard.tsx:193 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/BasicSettings.tsx"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73c818c220b37f17c505f6214e235b72d393f94507ac1328cbae52afca257ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): desktop/src/renderer/src/pages/settings/ModelsTab.tsx:1222 \u00B7 desktop/src/renderer/src/pages/settings/ModelsTab.tsx:1290 \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":"desktop/src/renderer/src/pages/settings/ModelsTab.tsx"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c61926d9a5780f8a932c874d1a285917106e837756fbc3c007e735c95f7a48a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): desktop/src/renderer/src/store/docEditorStore.ts:291 \u00B7 desktop/src/renderer/src/store/workspaceStore.ts:334 \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":"desktop/src/renderer/src/store/docEditorStore.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c51ee422374f1dae73f034868a4cc4ad0ab65c5b09f44b791394f206f0a30f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): channel/web/static/guest/guest.js:1099 \u00B7 channel/web/static/js/chat/state.js:499 \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":"channel/web/static/guest/guest.js"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0dfda25203cadbdc0d61c5a83e3cbcbdd59c57b17e4b229cdaa139270d5033"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): channel/web/static/js/core/markdown.js:230 \u00B7 channel/web/static/js/core/markdown.js:248 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/markdown.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fbad01194a5cfb3120e51985ae592321764bbd12b6d26b65006a41aa95f4c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): channel/web/static/js/views/artifacts.js:1013 \u00B7 channel/web/static/js/views/shares.js:316 \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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb65f82a461833ea2729caa8fc0704ff4b3b873120ac17b491f1cfed147d81f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): channel/web/static/js/views/models.js:613 \u00B7 channel/web/static/js/views/models.js:1921 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"159a4f69bb8f31fa923e9e6262c9cf76e4ea74500560411de01d6aa066596de8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): channel/web/static/js/views/models.js:1030 \u00B7 channel/web/static/js/views/models.js:1176 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee10b1513c6f93d12278bb5eaf7d644c882b49fa3db5cdd304326227c1aaa354"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): channel/web/static/js/views/skills.js:560 \u00B7 desktop/src/renderer/src/pages/skills/McpEditorModal.tsx:188 \u2014 the two spans are one implementation copied and then locally edited \u2014 125 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":"channel/web/static/js/views/skills.js"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf0c384605eb76a2319c3a2ac6b88ae7a7de86745a6f0aa33fba909a6de10df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): desktop/src/renderer/src/pages/AgentsPage.tsx:178 \u00B7 desktop/src/renderer/src/pages/settings/ChatApiCard.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":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"9939ed0ec92abd31cdb037a4aeb0d601375b481e2d3d51e341a9a6d7139e1cb8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): desktop/src/renderer/src/pages/TasksPage.tsx:1133 \u00B7 desktop/src/renderer/src/pages/TasksPage.tsx:1287 \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":"desktop/src/renderer/src/pages/TasksPage.tsx"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"139de0ecabea047c61bd224f44b439a4643e21e3cac74408d2feda15514f2011"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): desktop/src/renderer/src/pages/settings/ModelCatalogEditor.tsx:334 \u00B7 desktop/src/renderer/src/pages/settings/ModelCatalogEditor.tsx:347 \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":"desktop/src/renderer/src/pages/settings/ModelCatalogEditor.tsx"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a736b7fa1c60c485f3e914a5a372a54686e3a701d446e39a9f60e013887b4ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): desktop/src/renderer/src/pages/settings/ModelsTab.tsx:762 \u00B7 desktop/src/renderer/src/pages/settings/ModelsTab.tsx:1315 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/ModelsTab.tsx"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1599ce6af2b13315bc846360ba8d672636250e96e8340120c4149cc07a28569"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): desktop/src/renderer/src/pages/settings/shares/ShareDialogs.tsx:65 \u00B7 desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx:259 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/shares/ShareDialogs.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0b667a418c4dc2017767bc682a48a5e849f0429a4f0cf57e1afed1b240dfea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): channel/web/static/guest/guest.js:989 \u00B7 channel/web/static/js/views/sessions.js:825 \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":"channel/web/static/guest/guest.js"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab98392d9f1672cbbb0c1dbe8735418d6713e9f113b98de2e45dc6e5aa7f3f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): channel/web/static/js/chat/composer-input.js:293 \u00B7 desktop/src/renderer/src/components/ChatInput.tsx:454 \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":"channel/web/static/js/chat/composer-input.js"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b948938f3d4cd5c6cfd994335e8e981fff0c60c636bdafc07e55cc7f48cfbee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): channel/web/static/js/chat/session-settings.js:127 \u00B7 channel/web/static/js/chat/session-settings.js:207 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/session-settings.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7220595243f1d55a484e2060151f4ec5e79f8ab56214b3a877d18f5188ff5e68"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): channel/web/static/js/chat/state.js:160 \u00B7 channel/web/static/js/chat/state.js:343 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/state.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"031351a8b4210de874504c53743535ec16b9e85632f53518a673be63e0e46c3c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): channel/web/static/js/views/channels.js:327 \u00B7 channel/web/static/js/views/channels.js:589 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d55c0152a516e30be1e2dc5fb30e5387aa8d3d98f30db5a85303443c8474b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): channel/web/static/js/views/config.js:629 \u00B7 desktop/src/renderer/src/lib/passwordStrength.ts:5 \u2014 the two spans are one implementation copied and then locally edited \u2014 157 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":"channel/web/static/js/views/config.js"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb00ded5bbf9bf7c8e5a57e91f4271f4fc8ab69b385581a1836fc8adb6330ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): channel/web/static/js/views/models.js:1064 \u00B7 channel/web/static/js/views/models.js:1089 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95df32a921220f0c3c2ffe27aa4b6a4e351250220d0e95bbe16c44f84b5998d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): channel/web/static/js/views/models.js:1203 \u00B7 channel/web/static/js/views/models.js:1221 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"a470e11ed9aee589b2cf24b6da505791f001973c49f6ae35214890489741e115"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): channel/web/static/js/views/tasks-modal.js:608 \u00B7 channel/web/static/js/views/tasks-modal.js:696 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/tasks-modal.js"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"833eaf9afc793d0f0f1042e642514f99062804254be30e121f6634f7b5f7bfaa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): desktop/src/renderer/src/components/ChannelTeamSelect.tsx:134 \u00B7 desktop/src/renderer/src/components/NewChatMenu.tsx:191 \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":"desktop/src/renderer/src/components/ChannelTeamSelect.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62c6353e5ff4df20abe025bd42d737bfa632d72846f0c921800b4ac65a8cd43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): desktop/src/renderer/src/pages/KnowledgePage.tsx:180 \u00B7 desktop/src/renderer/src/pages/KnowledgePage.tsx:204 \u00B7 desktop/src/renderer/src/pages/KnowledgePage.tsx:246 \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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d6a40bbeb15ab4439476dd7908c202b53e466c82f11fedfdaf67fcd76b133a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): desktop/src/renderer/src/pages/TasksPage.tsx:257 \u00B7 desktop/src/renderer/src/pages/TasksPage.tsx:491 \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":"desktop/src/renderer/src/pages/TasksPage.tsx"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"4925080349c99ed47c5f1a555f7c3e83021f302b1c077bbc77619ba30a26f406"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx:295 \u00B7 desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx:484 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8c4a967eba4b1fe91e55eb78ea2dac04e04e0ed1bc9b2fcd8494ea938f74b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): desktop/src/renderer/src/store/docEditorStore.ts:247 \u00B7 desktop/src/renderer/src/store/workspaceStore.ts:425 \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":"desktop/src/renderer/src/store/docEditorStore.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c62e019210028053a39db86dcde6a5a6aa448a7be376c2163c9fd1b991090e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): channel/web/static/js/chat/composer-input.js:228 \u00B7 channel/web/static/js/chat/composer-input.js:240 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/composer-input.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"860497b099869bc8284a84edda52c81cfab8377b3f446d96bb0e67b65dfe1caa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): channel/web/static/js/chat/new-chat.js:94 \u00B7 channel/web/static/js/views/sessions.js:631 \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":"channel/web/static/js/chat/new-chat.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5dec6faa4d0c47e102a0a8227cf803d2b46a3eff1877eb5ab30b404266852f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): channel/web/static/js/views/config.js:529 \u00B7 channel/web/static/js/views/config.js:586 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/config.js"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7690140c0951f699b1185c6943e60d31b72003393eac974fcd46f067df40348"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): channel/web/static/js/views/sessions.js:432 \u00B7 channel/web/static/js/views/sessions.js:453 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/sessions.js"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce9ad91e616ff24cf0b606b3b267c463efe808d124488ba19fe8b3f9bd75d00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): desktop/src/renderer/src/components/AgentScopeSelect.tsx:29 \u00B7 desktop/src/renderer/src/components/ChannelTeamSelect.tsx:39 \u00B7 desktop/src/renderer/src/components/NewChatMenu.tsx:33 \u00B7 desktop/src/renderer/src/pages/ChannelsPage.tsx:319 \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":"desktop/src/renderer/src/components/AgentScopeSelect.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b28d0dda95d8ce3654e8d76aa5e8755a16ce461eee879eb653ec3593c51ba44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): desktop/src/renderer/src/components/ChatInput.tsx:752 \u00B7 desktop/src/renderer/src/components/ChatInput.tsx:772 \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":"desktop/src/renderer/src/components/ChatInput.tsx"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"1811420a04e8bc6cd6cd8ed120c37b3ef5ebe09ef936ce6b33ee0142d48fb7a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): desktop/src/renderer/src/components/UpdateBanner.tsx:80 \u00B7 desktop/src/renderer/src/components/UpdateBanner.tsx:130 \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":"desktop/src/renderer/src/components/UpdateBanner.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef8f83a34e3e213f19a41c1d3e7e0a6353b1b380042fccc47b15f3bcbf2c8e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): desktop/src/renderer/src/hooks/usePushPoll.ts:19 \u00B7 desktop/src/renderer/src/hooks/useSchedulerNotifyPoll.ts:24 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/hooks/usePushPoll.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e49e9a434d49d031ab0b1cc5481b290efa25045c9711c08cd91f428c0c610ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): desktop/src/renderer/src/pages/SkillsPage.tsx:811 \u00B7 desktop/src/renderer/src/pages/SkillsPage.tsx:900 \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":"desktop/src/renderer/src/pages/SkillsPage.tsx"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b09099be0259fb452c65a9711f9360ada1744d66bc54e038f6133590d547ae8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): desktop/src/renderer/src/pages/settings/BasicSettings.tsx:509 \u00B7 desktop/src/renderer/src/pages/settings/CapabilityCard.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":"desktop/src/renderer/src/pages/settings/BasicSettings.tsx"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"45339ee063ccbf1c6709c3799a7d57f6cf9a0566b1b0e37adb03187a38b6a738"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): desktop/src/renderer/src/store/uiStore.ts:37 \u00B7 desktop/src/renderer/src/store/uiStore.ts:49 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/uiStore.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db308a30a3868e488938561fc94ce36de7406f31b5e12a89d2ffe16c43b9755"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): channel/web/static/guest/guest.js:452 \u00B7 channel/web/static/js/chat/send.js:253 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/guest/guest.js"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"1670b802996ab34c002f37c4aad56080f5fa5e4a9d413c1baf3cdebc836ca58f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): channel/web/static/guest/guest.js:711 \u00B7 channel/web/static/js/views/artifacts.js:1013 \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":"channel/web/static/guest/guest.js"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df6a1657a5285308b4cb9c7e2c500674100e95186c1c8fa1e067e4954cde775"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): channel/web/static/guest/guest.js:970 \u00B7 channel/web/static/js/views/sessions.js:838 \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":"channel/web/static/guest/guest.js"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"747c3303b4b66f1aa1d5ed86157d532b9852e02e965eabea92890e6d3e8d5fb1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): channel/web/static/js/chat/context-usage.js:272 \u00B7 channel/web/static/js/chat/timeline.js:60 \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":"channel/web/static/js/chat/context-usage.js"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f18fce3dc4403d12e2192e3f4566d059883780f4dd22ab4c1a4947159cc4723"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): channel/web/static/js/chat/state.js:555 \u00B7 channel/web/static/js/chat/state.js:570 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/state.js"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"276408f37335415c00001560a74f268b7d932d7b186e3948975d2a9f4c526378"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): channel/web/static/js/chat/timeline.js:191 \u00B7 desktop/src/renderer/src/components/ChatTimeline.tsx:210 \u2014 the two spans are one implementation copied and then locally edited \u2014 111 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":"channel/web/static/js/chat/timeline.js"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9c983ba5ec85bbf2423ed237e345c6f976ec46819679b36beae4ac74c668df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): channel/web/static/js/core/auth.js:100 \u00B7 channel/web/static/js/core/auth.js:113 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/auth.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f65704830f13fa5eea5a21c39fe9a4c6a42bdf043aec2680be3a28844b524e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): channel/web/static/js/views/doc-viewers.js:18 \u00B7 channel/web/static/js/views/knowledge.js:75 \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":"channel/web/static/js/views/doc-viewers.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"58cbbee05c00c8c2bf372df34a038aa5d6a4790f509277a6b5465927df9ca700"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): channel/web/static/js/views/knowledge.js:682 \u00B7 channel/web/static/js/views/knowledge.js:693 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97d73e0a08ff6074fd69c44bd134642f35752e474b923bbc340a90aca0729f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): channel/web/static/js/views/menu-editor.js:384 \u00B7 desktop/src/renderer/src/components/MenuEditor.tsx:331 \u2014 the two spans are one implementation copied and then locally edited \u2014 118 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":"channel/web/static/js/views/menu-editor.js"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc876e24d583a1c7a9a3230b01cacfb985c25671105dedeab52d488721d4a557"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): channel/web/static/js/views/sessions.js:807 \u00B7 channel/web/static/js/views/sessions.js:845 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/sessions.js"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92a663dea4783874434ad25e156ad760abd4ffcda393643630fb64ca374ea99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): desktop/src/renderer/src/components/NewChatMenu.tsx:170 \u00B7 desktop/src/renderer/src/pages/AgentsPage.tsx:918 \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":"desktop/src/renderer/src/components/NewChatMenu.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c24d2f599010b2b54002bed9799877be7d2abcfb78a2c32d56e28055e91d34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): desktop/src/renderer/src/pages/ChannelsPage.tsx:228 \u00B7 desktop/src/renderer/src/pages/SkillsPage.tsx:713 \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":"desktop/src/renderer/src/pages/ChannelsPage.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af57b5d205ca3ee28b3df49c78ec649e7c6c36bf4c11bb211d5f0e8d0ed999e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): desktop/src/renderer/src/pages/settings/BasicSettings.tsx:275 \u00B7 desktop/src/renderer/src/pages/settings/CapabilityCard.tsx:147 \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":"desktop/src/renderer/src/pages/settings/BasicSettings.tsx"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3ae34101f2d64869dde7ffe4db5216ddfe4a9b027643d5e9860e364e991e71"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): desktop/src/renderer/src/pages/settings/BasicSettings.tsx:551 \u00B7 desktop/src/renderer/src/pages/settings/BasicSettings.tsx:699 \u00B7 desktop/src/renderer/src/pages/settings/ModelsTab.tsx:606 \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":"desktop/src/renderer/src/pages/settings/BasicSettings.tsx"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a76f3442e2785229bbde801ce55494720d4b5e13fd1a5070d7761c5f265697"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): desktop/src/renderer/src/pages/settings/BasicSettings.tsx:649 \u00B7 desktop/src/renderer/src/pages/settings/BasicSettings.tsx:736 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/BasicSettings.tsx"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f2841d9f568010cc4590b331a5035a2a1f9c1891dbb32946f48f8ab7ecf1f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): desktop/src/renderer/src/pages/settings/CapabilityCard.tsx:179 \u00B7 desktop/src/renderer/src/pages/settings/ModelsTab.tsx:891 \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":"desktop/src/renderer/src/pages/settings/CapabilityCard.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62c245cdfc65e0e71676473ac6bc9d5910f7295caa7723eb79799184ae433ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): desktop/src/renderer/src/store/workspaceStore.ts:227 \u00B7 desktop/src/renderer/src/store/workspaceStore.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":"desktop/src/renderer/src/store/workspaceStore.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"246cc5e452764a3fd6424723aca69f5f3fc502cda756a6efedf37484bf459446"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): channel/web/static/guest/guest.js:200 \u00B7 channel/web/static/js/workspace.js:93 \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":"channel/web/static/guest/guest.js"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1ca37d82b5d8987757936160c8ce433bcc8fcfb8cf67453487b958ea242aa9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): channel/web/static/guest/guest.js:681 \u00B7 channel/web/static/js/chat/state.js:787 \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":"channel/web/static/guest/guest.js"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"48788ab83f47b4632a99a918a1b2e314cd052d71c2f1d7c6d13a9b494dac4c43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): channel/web/static/js/chat/composer-input.js:286 \u00B7 channel/web/static/js/workspace.js:1262 \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":"channel/web/static/js/chat/composer-input.js"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad13854f1cea1b2ae019a1d342f60a1c4d7b45e0b3e6d6abaf72d61cbc57c6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): channel/web/static/js/chat/render.js:65 \u00B7 channel/web/static/js/chat/state.js:807 \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":"channel/web/static/js/chat/render.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d00bba1461d967236f0597b70072db96a5e3297abdd0dee1a8f4f48f8296227"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): channel/web/static/js/views/artifacts.js:625 \u00B7 desktop/src/renderer/src/pages/artifacts/ArtifactCard.tsx:49 \u2014 the two spans are one implementation copied and then locally edited \u2014 89 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"21cdfc3b3a0f4cb2a53aeb991c20d1e10b8211d64fd26fbd5c76df09c2525ed4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): channel/web/static/js/views/config.js:562 \u00B7 channel/web/static/js/views/config.js:599 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/config.js"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcceeb57a9b268c53f661aca124e0d62d7b61782763cb5d08acc59ccd2a4977f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): channel/web/static/js/views/menu-editor.js:42 \u00B7 channel/web/static/js/views/menu-editor.js:208 \u2014 the two spans are one implementation copied and then locally edited \u2014 76 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":"channel/web/static/js/views/menu-editor.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"84503d77cbcb0a4854736e2f5061a6694423bba9aea13e14079dc1582b3ca92e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): channel/web/static/js/views/models.js:1109 \u00B7 channel/web/static/js/views/models.js:1206 \u00B7 channel/web/static/js/views/models.js:1224 \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":"channel/web/static/js/views/models.js"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ac34c53eaec39a66d1e8be091427d9bbfdbd7ca8e419a11d4f57ab97ad11c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): channel/web/static/js/views/tasks-modal.js:36 \u00B7 channel/web/static/js/views/tasks-modal.js:50 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/tasks-modal.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb92ebc91de6cd7775154aa3730ff3575baddb91e010343a782efc99cd1635d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): desktop/src/main/app-icon.ts:133 \u00B7 desktop/src/main/app-icon.ts: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":"desktop/src/main/app-icon.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"651e432509f73900a4e99d469bb04c17b6d5b7f11efefe667c104c86319fe30a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): desktop/src/renderer/src/api/client.ts:716 \u00B7 desktop/src/renderer/src/api/client.ts:756 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/api/client.ts"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"544ca8d97f8b55d1e67aeb537a0af45a85fc5b4839e419885d01e74435ebdd2d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): desktop/src/renderer/src/components/DocEditor.tsx:285 \u00B7 desktop/src/renderer/src/components/WorkspacePanel.tsx:239 \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":"desktop/src/renderer/src/components/DocEditor.tsx"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"c534f2a383d2087743e635fdabd6becaa0757769b95d4b73e0455be5a883b53a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): desktop/src/renderer/src/components/ModelSelector.tsx:17 \u00B7 desktop/src/renderer/src/components/PermissionSelector.tsx:25 \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":"desktop/src/renderer/src/components/ModelSelector.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97cf3ac0fec955b0fa80b8e93b491296e8fbad9665ece7fbffc874f6d171da0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): desktop/src/renderer/src/layout/SessionList.tsx:594 \u00B7 desktop/src/renderer/src/layout/SessionList.tsx:618 \u00B7 desktop/src/renderer/src/layout/SessionList.tsx:636 \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":"desktop/src/renderer/src/layout/SessionList.tsx"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8119ce9590f669d0193a2fa26dee1f60cdef60c8e05bef5a1fef9e65b1fe676"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): desktop/src/renderer/src/pages/AgentsPage.tsx:499 \u00B7 desktop/src/renderer/src/pages/AgentsPage.tsx:720 \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":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"70bb48feef60c0eb4c63394caa88d9e8c4d99fe8ddf78921c1df768da36eb592"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): desktop/src/renderer/src/pages/settings/CapabilityCard.tsx:214 \u00B7 desktop/src/renderer/src/pages/settings/ModelsTab.tsx:1095 \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":"desktop/src/renderer/src/pages/settings/CapabilityCard.tsx"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"45024617c6fa4d356809d658dd1ec9cf9be4bfda8b6d3bd72f9ab510d322b078"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): channel/web/static/js/views/agents.js:1416 \u00B7 channel/web/static/js/views/knowledge.js:37 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/agents.js"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca540348296427a2f83ddebfb49309c31d8610ade24958948701d285271c991c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): channel/web/static/js/views/artifacts.js:915 \u00B7 channel/web/static/js/views/artifacts.js: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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"edca5fe88610c2c8dc5cfe3e2aed89f8a1139ebfcba8d93167550ec76e82d255"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): channel/web/static/js/views/channels-feishu.js:198 \u00B7 channel/web/static/js/views/channels-weixin.js:265 \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":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"a707d206a86265e0977920923a1b0eff98d7d019134b912f0dec303656dff6bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): channel/web/static/js/views/knowledge.js:329 \u00B7 channel/web/static/js/views/knowledge.js:608 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b49678ce91f46858c0ac3d4aa303585f1f54e730ddd456b099755fab59d63f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): channel/web/static/js/views/models.js:1613 \u00B7 channel/web/static/js/views/models.js:1669 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1613}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3baad3de58183394199cbac7b91e9c8ac096d3fafeb1d9f06c30372e0b52a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): channel/web/static/js/views/models.js:1727 \u00B7 channel/web/static/js/views/models.js:1809 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1727}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b707c69e05c6f8ca554db9b29f7bf8c10d9e0784b81935f7bf81b2f28ee255"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): channel/web/static/js/views/tasks-modal.js:477 \u00B7 channel/web/static/js/views/tasks-modal.js:491 \u00B7 channel/web/static/js/views/tasks-modal.js:519 \u00B7 channel/web/static/js/views/tasks-modal.js:551 \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":"channel/web/static/js/views/tasks-modal.js"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e8857b777e55ba1ce766adc7a57a466b1ff1bd9a501a020c89eea58b040a21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): channel/web/static/js/workspace.js:1263 \u00B7 desktop/src/renderer/src/components/ChatInput.tsx:455 \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":"channel/web/static/js/workspace.js"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"9856c54336fdb6270992472ad8a53ff9a0f8bcd3d29c867d4ba6a29d48a5c2b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): desktop/src/renderer/src/components/ComposerChip.tsx:40 \u00B7 desktop/src/renderer/src/layout/NavRail.tsx:114 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/ComposerChip.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3982ab1ed03d2402a4c4eaf09fca5e5e03c5e0aaef5cb501f2fd2695c4e3e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): desktop/src/renderer/src/components/WorkspaceSelector.tsx:57 \u00B7 desktop/src/renderer/src/layout/NavRail.tsx:121 \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":"desktop/src/renderer/src/components/WorkspaceSelector.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b132932949ab642d3969cf975678de125fe387f434c67b7bb9ba2bc9e021388e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): desktop/src/renderer/src/pages/ChatPage.tsx:221 \u00B7 desktop/src/renderer/src/pages/ChatPage.tsx:231 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/ChatPage.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7ec7e4ccf86fa1baa5367359db9b63b8ca8f3bc1ca5812f20e19f977363102"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): desktop/src/renderer/src/pages/KnowledgePage.tsx:140 \u00B7 desktop/src/renderer/src/pages/skills/SkillCreateForm.tsx:74 \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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d3546a35cec7a18b93fb7c3cdbade54790647b1865210e9cc823addf96997a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): desktop/src/renderer/src/pages/KnowledgePage.tsx:1130 \u00B7 desktop/src/renderer/src/pages/KnowledgePage.tsx:1200 \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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca39a0a5cfb0536fd11e1bcbda2f4c3f3e1bf403757d1b14f98e00edd8a8f3f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): desktop/src/renderer/src/pages/settings/BasicSettings.tsx:352 \u00B7 desktop/src/renderer/src/pages/settings/BasicSettings.tsx:477 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/BasicSettings.tsx"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe5efce34dbfe0f6574cdf8a8411cbb964ea1e8fdf2ac473b974bdca27e82dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): desktop/src/renderer/src/pages/settings/BasicSettings.tsx:612 \u00B7 desktop/src/renderer/src/pages/settings/BasicSettings.tsx:620 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/BasicSettings.tsx"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"476c869ea83eedd17082112aa9e1cf9e60903fcb0b2bc9657217e945d145396e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): desktop/src/renderer/src/pages/settings/BasicSettings.tsx:628 \u00B7 desktop/src/renderer/src/pages/settings/BasicSettings.tsx:731 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/BasicSettings.tsx"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"be59391e8ad1e38670bea925061ceca3e3a12da3eff1b9abad93b097dde9679e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): desktop/src/renderer/src/pages/settings/CapabilityCard.tsx:64 \u00B7 desktop/src/renderer/src/pages/settings/ChatFallbackCard.tsx:92 \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":"desktop/src/renderer/src/pages/settings/CapabilityCard.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4e573f9cca80097a87ea13e85b44a99e1e32ca2f5cd3253b787b8d47e02658"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): desktop/src/renderer/src/pages/settings/ChatFallbackCard.tsx:302 \u00B7 desktop/src/renderer/src/pages/skills/SkillCreateForm.tsx:268 \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":"desktop/src/renderer/src/pages/settings/ChatFallbackCard.tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab47c37af9fdb7f51da1126399463e9527f12ba1180f653ab433ed7b0a1bed5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): channel/web/static/guest/guest.js:91 \u00B7 channel/web/static/js/chat/state.js:110 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of MODULE-LEVEL DECLARATIONS \u2014 bindings the module declares and exports \u2014 rather than statements with a call site. Do not read this as an extract-a-helper row: a call expression cannot stand where a declaration was, and putting one there would delete the names themselves, which are what the rest of the codebase imports. What actually repeats here is the INITIALISER \u2014 the same expression shape written once per binding. So give that expression one name (a small helper the initialisers call, or a shared base value they are each derived from) and keep every binding under the name it already has. Where the run is an enumeration \u2014 one binding per distinct thing, differing precisely in the thing each one names \u2014 the repetition IS the enumeration and collapsing it would delete entries; consider instead whether the set belongs in one exported table the individual names are read out of. Reported because the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/guest/guest.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a31bec59e94cd41ca9abf0934f6adad05095d3377f94fa814415b46b03d513"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): channel/web/static/js/chat/session-settings.js:78 \u00B7 channel/web/static/js/chat/session-settings.js:123 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/session-settings.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb479322e2f8f05a3a169af053cd649e61aef3700edc58f7a1ad1aa79efd8c41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): channel/web/static/js/chat/session-settings.js:294 \u00B7 channel/web/static/js/chat/workspace-selector.js:266 \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":"channel/web/static/js/chat/session-settings.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"5201db5ea359d557a1785e1be94d864b5eabb7df88694711709a3e3ad5fbc6ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): channel/web/static/js/chat/timeline.js:37 \u00B7 channel/web/static/js/workspace.js:1343 \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":"channel/web/static/js/chat/timeline.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"771c40757dc8ad81dabbb3b12dfd55f7b8d3b86f853243e42e6ceb821215150a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): channel/web/static/js/core/auth.js:168 \u00B7 channel/web/static/js/core/version.js:236 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/auth.js"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"133a5bd90d9af2a6fc624f9d375388c3df4a8baad78d73fa2b44b8a34bd09525"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): channel/web/static/js/core/markdown.js:342 \u00B7 channel/web/static/js/views/knowledge.js:878 \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":"channel/web/static/js/core/markdown.js"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d246312267ce6de20c0969086acdf4ce3d4c51049d76c7f14e66666e683b1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): channel/web/static/js/views/agents.js:665 \u00B7 channel/web/static/js/views/agents.js: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":"channel/web/static/js/views/agents.js"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"d458bf1be49ff2d24f7ef82481dcb6e49669007a6e3fc39066475c9fd58aee92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): channel/web/static/js/views/agents.js:447 \u00B7 channel/web/static/js/views/config.js:797 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/agents.js"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"349f85d6b65888bdb505f4ea972e2cf4c5df8a507838ef10a7076d5f51278c50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): channel/web/static/js/views/doc-viewers.js:90 \u00B7 channel/web/static/js/views/knowledge.js:840 \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":"channel/web/static/js/views/doc-viewers.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b844b31cc9155886000ed4c4ce5be2798808d6226e7525d37cd3754d16827bb4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): channel/web/static/js/views/shares.js:1194 \u00B7 desktop/src/renderer/src/pages/settings/shares/ShareDialogs.tsx:130 \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":"channel/web/static/js/views/shares.js"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"43165496019096ed43494ec1f125133890fa1cd72e05c29c94efaa98c0ad28fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): channel/web/static/js/views/tasks-modal.js:500 \u00B7 channel/web/static/js/views/tasks-modal.js:511 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/tasks-modal.js"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"30dfc51176e5ee8a804eddf7b37636fcae1786710055f01ce268db31380a386c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): desktop/src/main/updater.ts:255 \u00B7 desktop/src/main/updater.ts:313 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 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":"desktop/src/main/updater.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"065c875ab0cab9521c3fc39d33eaa63cb3352b81de94c81dd9a17007c091b52d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): desktop/src/renderer/src/api/client.ts:753 \u00B7 desktop/src/renderer/src/api/client.ts:777 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/api/client.ts"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77075c6554c0d015592f2fe46073f0135ea363610d058029a9f99c412a4680b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): desktop/src/renderer/src/components/ChatInput.tsx:779 \u00B7 desktop/src/renderer/src/components/FileTree.tsx:169 \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":"desktop/src/renderer/src/components/ChatInput.tsx"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b20b9a5c5f99332bb6134ff93c4a78da7458479be155c3d9a8890300df25712"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): desktop/src/renderer/src/components/Markdown.tsx:97 \u00B7 desktop/src/renderer/src/components/Markdown.tsx:122 \u00B7 desktop/src/renderer/src/components/Markdown.tsx:184 \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":"desktop/src/renderer/src/components/Markdown.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec859a5292dd82cf9b21f4b63021de7155151cbbd4848f8438d4952c77df8319"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): desktop/src/renderer/src/components/QrScanPanel.tsx:57 \u00B7 desktop/src/renderer/src/components/QrScanPanel.tsx:154 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 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":"desktop/src/renderer/src/components/QrScanPanel.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0a86347b9c7a4a6aab13e432d35c63e4ae3f28b00bf22b4a209ec4ffc94fd3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): desktop/src/renderer/src/components/Tooltip.tsx:21 \u00B7 desktop/src/renderer/src/pages/settings/primitives.tsx:16 \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":"desktop/src/renderer/src/components/Tooltip.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f77992e4b6dda3bfabf2ab1f5d2c44977406a99228d263de3cfe08c928f9f13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): desktop/src/renderer/src/pages/AgentsPage.tsx:361 \u00B7 desktop/src/renderer/src/pages/settings/ModelsTab.tsx:1229 \u00B7 desktop/src/renderer/src/pages/settings/ModelsTab.tsx:1297 \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":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff06172fdbac9e74bdcfda613975d0560fb25fe1257855759b1dd5a09764e181"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6 locations): desktop/src/renderer/src/pages/AgentsPage.tsx:783 \u00B7 desktop/src/renderer/src/pages/LogsPage.tsx:86 \u00B7 desktop/src/renderer/src/pages/settings/BasicSettings.tsx:630 \u00B7 desktop/src/renderer/src/pages/settings/BasicSettings.tsx:653 \u00B7 \u002B2 more site(s) not listed \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb1e381aa845da21c89251f354a779d0149e6d1735a4b2f8664253093594c58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): desktop/src/renderer/src/pages/AgentsPage.tsx:840 \u00B7 desktop/src/renderer/src/pages/skills/SkillCreateForm.tsx:105 \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":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"9beaf875d8ed2735ed8317c24d4dd726fb40d3299b80fcb008379b7ccafbcb81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): desktop/src/renderer/src/pages/TasksPage.tsx:1032 \u00B7 desktop/src/renderer/src/pages/TasksPage.tsx:1050 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/TasksPage.tsx"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"042a18e7839e48fa5bc39b3de6954693f43e591ce368eccb369951e8f41d6e65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx:68 \u00B7 desktop/src/renderer/src/pages/skills/SkillCreateForm.tsx:112 \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":"desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"113e2092f283c0dc46ebed3ee7361968aa6743a5f49660444ee4098e1b5ef941"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): channel/web/static/js/chat/render.js:507 \u00B7 channel/web/static/js/chat/send.js:306 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/render.js"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e0852279a143f7341f2a945099732ecf81374664b18581bbb3788a94a5faaf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): channel/web/static/js/chat/send.js:688 \u00B7 channel/web/static/js/chat/send.js:695 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/send.js"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"539ba41a5ff0318a17680b6422c77736330868c42a4aa3eb5def503534460d10"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): channel/web/static/js/core/version.js:153 \u00B7 channel/web/static/js/core/version.js:186 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/version.js"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40fd3cafc078280f102a611e0a1932b209a55aaea23778ddbbe3d5fe225a07c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): channel/web/static/js/views/artifacts.js:492 \u00B7 channel/web/static/js/views/artifacts.js:997 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1f3c14f1c7815283ec66bcc0e8dd9ff04075d8fefd08dcbc53fa00d4aefadb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): channel/web/static/js/views/config.js:307 \u00B7 channel/web/static/js/views/models.js:2175 \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":"channel/web/static/js/views/config.js"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c5f4b5ce5bc58b8f75a90c456121906f937407dec1a21b464e9d55afe2d9c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): channel/web/static/js/views/knowledge.js:785 \u00B7 desktop/src/renderer/src/components/Markdown.tsx:147 \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":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e49cd63017914999ed0c9dd51515fc4ee2c10c1dd180ad5d2e22a4a335879b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): channel/web/static/js/views/models.js:1750 \u00B7 channel/web/static/js/views/models.js:1769 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"7613b4897bb391b20a7bcd40c3462d4cd05c5434f2f867d2c4ac3c8c42416196"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): channel/web/static/js/views/shares.js:982 \u00B7 desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx: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":"channel/web/static/js/views/shares.js"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d193ee1775114fc5508c699a9e48d661c33a5c991221593a7acaed6a2f808e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): channel/web/static/js/views/skills.js:1843 \u00B7 desktop/src/renderer/src/pages/skills/SkillCreateForm.tsx:51 \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":"channel/web/static/js/views/skills.js"},"region":{"startLine":1843}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d86765a31825b3d4e7d77e279ccb0988c8fe8e8c94b67a1152523c9a62523d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): channel/web/tools/check-load-order.mjs:188 \u00B7 channel/web/tools/check-load-order.mjs:208 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/tools/check-load-order.mjs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0c5f0b40ca12bc4690ed202f902d60d2274e45012d78bb5da02bddb69fda3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): desktop/src/renderer/src/components/MenuEditor.tsx:143 \u00B7 desktop/src/renderer/src/pages/AgentsPage.tsx:844 \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":"desktop/src/renderer/src/components/MenuEditor.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0c0c0c74e274ba2484e4060fd110cfd99716e463316765989950c95d3792e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): desktop/src/renderer/src/components/MenuEditor.tsx:477 \u00B7 desktop/src/renderer/src/components/MenuEditor.tsx:645 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 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":"desktop/src/renderer/src/components/MenuEditor.tsx"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9dadf7c666564452d63b24cbc705cf4c6709986376d66ed29274f2538d99021"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): desktop/src/renderer/src/components/OnboardingWizard.tsx:35 \u00B7 desktop/src/renderer/src/pages/AgentsPage.tsx:843 \u00B7 desktop/src/renderer/src/pages/settings/BasicSettings.tsx:142 \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":"desktop/src/renderer/src/components/OnboardingWizard.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"65304d5ac31aaed1cddf2af43c57cad108bd93089e7684dad2193fe476d06afb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): desktop/src/renderer/src/pages/settings/BasicSettings.tsx:137 \u00B7 desktop/src/renderer/src/pages/settings/BasicSettings.tsx:154 \u00B7 desktop/src/renderer/src/pages/settings/ModelsTab.tsx:470 \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":"desktop/src/renderer/src/pages/settings/BasicSettings.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea05095de89dda3949db8e104ada113287c1b322deb984e88bf6fa824c8d721"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): desktop/src/renderer/src/pages/settings/BasicSettings.tsx:153 \u00B7 desktop/src/renderer/src/pages/settings/ModelsTab.tsx:654 \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":"desktop/src/renderer/src/pages/settings/BasicSettings.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b4580d8ff4e3cc8f634c7d80778ab6a7ff534ae9e0751b4bf7ff86036be677"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): desktop/src/renderer/src/pages/settings/ModelsTab.tsx:472 \u00B7 desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx:55 \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":"desktop/src/renderer/src/pages/settings/ModelsTab.tsx"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79bdeedbfd25ed304ed9589713a63cb2756effac8838624e471b66002cc047d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx:49 \u00B7 desktop/src/renderer/src/pages/skills/SkillCreateForm.tsx:109 \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":"desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af5294a1558238cceb17b5995811f825193245a66eb7e0c6bf9f6b56a6eb5f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): channel/web/static/js/chat/context-usage.js:174 \u00B7 channel/web/static/js/core/i18n.js:2731 \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":"channel/web/static/js/chat/context-usage.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"8776e5d77b54113a54a0b9d6d67b5deaa9b4da51c4a568727c430f0b113932a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): channel/web/static/js/core/i18n.js:2656 \u00B7 channel/web/static/js/views/agents.js:672 \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":"channel/web/static/js/core/i18n.js"},"region":{"startLine":2656}}}],"partialFingerprints":{"codehealthFindingId/v1":"305d9bfae7539f12cb208fdb86443f32ddc80a200c5e4510a78353be4a4637e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): channel/web/static/js/core/markdown.js:96 \u00B7 channel/web/static/js/core/markdown.js:121 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/markdown.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bcc9bacde1d07786dd483de7d76cd6c7e333a6c2da141663684651f27fff32c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): channel/web/static/js/core/themes.js:251 \u00B7 desktop/src/renderer/src/hooks/useTheme.ts:121 \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":"channel/web/static/js/core/themes.js"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3b9d0511a6b6f7f10bb0e54356ca8d52756f9ccef74efe42c9d86ca725ec90"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): channel/web/static/js/core/themes.js:174 \u00B7 desktop/src/renderer/src/theme/themes.ts:407 \u2014 the two spans are one implementation copied and then locally edited \u2014 79 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/themes.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"13554d9f9f8a0f9478b0586e0e65f5a4920f8493762cee20821ca68ff6ebb0f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): channel/web/static/js/views/agents.js:825 \u00B7 channel/web/static/js/views/agents.js:861 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/agents.js"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e74fba4003453e6bc2b6274859346ae9327a78568daaf77aa04fc13061171e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): channel/web/static/js/views/menu-editor.js:439 \u00B7 channel/web/static/js/views/shares.js: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":"channel/web/static/js/views/menu-editor.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a7512b5ca29fe64a34d32e6e79b2344a3f85a88a3b8f980da0d7b10860d225"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): channel/web/static/js/views/models.js:76 \u00B7 channel/web/static/js/views/skills.js:116 \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":"channel/web/static/js/views/models.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8560c2150705909a576767f75f2e85d2470d7999ac50e382a21d82909a5e526f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): channel/web/static/js/views/sessions.js:902 \u00B7 channel/web/static/js/views/shares.js:226 \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":"channel/web/static/js/views/sessions.js"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b2dbbee30327e2d04b56705610322f923d893e6a347914d79b2472e929a8e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): channel/web/static/js/views/sessions.js:513 \u00B7 desktop/src/renderer/src/store/sessionStore.ts:122 \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":"channel/web/static/js/views/sessions.js"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29d7c145a21e2656c48e4142c74d597c7c776d1dd48297899268b5efbbecc7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): channel/web/static/js/views/skills.js:751 \u00B7 channel/web/static/js/views/skills.js:756 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 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":"channel/web/static/js/views/skills.js"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd569f3461a17759607db42977476dc3ecaefade1f221eac000363b4cc6fadf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 17 locations): desktop/src/renderer/src/App.tsx:46 \u00B7 desktop/src/renderer/src/components/DocEditor.tsx:87 \u00B7 desktop/src/renderer/src/components/DocEditor.tsx:212 \u00B7 desktop/src/renderer/src/components/FileEditor.tsx:18 \u00B7 \u002B13 more site(s) not listed \u2014 the 17 copies are spread across 14 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/App.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a32e5e4a0822d3d45f0cf4430dd6ad6fec71cc31da35549cfd1d5d626b5449d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processSSEItem (cyclomatic 133, cognitive 217): processSSEItem has cyclomatic complexity 133 and cognitive complexity 217; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/send.js"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32d0f21bac9a2e5f7e25e0fb7d8c9c3316a7b100a355dfb13a30d1505a6a776"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveTaskEdit (cyclomatic 62, cognitive 96): saveTaskEdit has cyclomatic complexity 62 and cognitive complexity 96; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/tasks-modal.js"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb692e76c4e3288b5e6bbeb743cb93881b00abaca945e78d0992c84939edd11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onmessage (cyclomatic 62, cognitive 60): onmessage has cyclomatic complexity 62 and cognitive complexity 60; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/chatStore.ts"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc0aac0e03557c9b898c1426c7cd344d865e15336ca535a7d4ccbb5da848d48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MessageBubble (cyclomatic 48, cognitive 41): MessageBubble has cyclomatic complexity 48 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":"desktop/src/renderer/src/components/MessageBubble.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc996e696cb53ab44cf52191f44d70aa683ac0bc5422b4b1fef4df5391160db0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BasicSettings (cyclomatic 47, cognitive 43): BasicSettings has cyclomatic complexity 47 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":"desktop/src/renderer/src/pages/settings/BasicSettings.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8eecc878f40d831065144e33d0afe3228c662531ed1d033d83daa40c7b51494"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderCapabilityBody (cyclomatic 44, cognitive 48): renderCapabilityBody has cyclomatic complexity 44 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":"channel/web/static/js/views/models.js"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e4753e3fddb9ed022d3b154cd92a380f8fefed1c49a50e7151c7ecd7732754"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createBotMessageEl (cyclomatic 41, cognitive 37): createBotMessageEl has cyclomatic complexity 41 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":"channel/web/static/js/chat/render.js"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe3850dae9cf37dc4b133398190b05ba66744834e4530101426ce371d6ac491"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function save (cyclomatic 39, cognitive 41): save has cyclomatic complexity 39 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":"desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1cf8646245181dd84358b7bcde3231f9a9d7b3995568c74d70aad5ce6042774"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillsPage (cyclomatic 38, cognitive 34): SkillsPage has cyclomatic complexity 38 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/SkillsPage.tsx"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"af99803ad224ac67598199cd540bbbf8b77d006c14e4591cb8b815a310b29145"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChannelCard (cyclomatic 38, cognitive 31): ChannelCard has cyclomatic complexity 38 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":"desktop/src/renderer/src/pages/ChannelsPage.tsx"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e0805bfc2a83e265db7c3365d4fe921c8fec864520c8e7d2e4255d2fd324f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handle (cyclomatic 35, cognitive 52): handle has cyclomatic complexity 35 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":"channel/web/static/guest/guest.js"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a31072e575706cc29b782beffc74b27bfb74ddbf53691541ed56b775ee231dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillAddModal (cyclomatic 35, cognitive 36): SkillAddModal has cyclomatic complexity 35 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":"desktop/src/renderer/src/pages/skills/SkillAddModal.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"2293db33e3a5adf8a25867269cc3c121c3561c9fcf9da24817f138ff3ec406d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openSearchKeyModal (cyclomatic 35, cognitive 35): openSearchKeyModal has cyclomatic complexity 35 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":"channel/web/static/js/views/models.js"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c78db5e9a6e34c9f53ddfc13a3798922818af84160bef10b628a627b7bc22b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 39): (anonymous) has cyclomatic complexity 33 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":"channel/web/static/js/chat/composer-input.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea53bffac5d649fccee5dfb58d93910b915b8c0ec13f2a1878830ffdaeb5c413"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RunDetailModal (cyclomatic 33, cognitive 24): RunDetailModal has cyclomatic complexity 33 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":"desktop/src/renderer/src/pages/TasksPage.tsx"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28b41d4eba3d274cacdffebdeafed0520c799e66f5a1412868270b6cc2d00ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ArtifactPreview (cyclomatic 31, cognitive 28): ArtifactPreview 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":"desktop/src/renderer/src/pages/artifacts/ArtifactPreview.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f84d307bc6ebe9e8630590b033d9acc2f1eb36a331380120470226ef8f8bcc9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _ctNormalize (cyclomatic 31, cognitive 27): _ctNormalize has cyclomatic complexity 31 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/themes.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f5e91c38582b2b02aa2118dd2e73770d667cd492c1b97df84782b75582425e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function App (cyclomatic 31, cognitive 23): App has cyclomatic complexity 31 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":"desktop/src/renderer/src/App.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd38156c22dd5420373438774700332e51778bb7fa3bbe938787b96b39a1a43"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 33): (anonymous) has cyclomatic complexity 29 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/render.js"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d731d036b99d0c0e3236359b2b0fef50dcae935eb0572b852c57667bec145bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shareCardHtml (cyclomatic 29, cognitive 28): shareCardHtml has cyclomatic complexity 29 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":"channel/web/static/js/views/shares.js"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"1637e7d17e063ab455453bfe44bf1efbc6953cb6cb5afb5f25f17503af6442c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submit (cyclomatic 28, cognitive 43): submit has cyclomatic complexity 28 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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2aa6ee53542efce592d9c98d43a19a51df9bb3b348a707e4a6d78fcdff9e298"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initConfigView (cyclomatic 28, cognitive 29): initConfigView 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":"channel/web/static/js/views/config.js"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef9b02a64cef70ae079404c5305cab9ecde8d529b55536fdcc077230eb65fcd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KnowledgePage (cyclomatic 28, cognitive 27): KnowledgePage has cyclomatic complexity 28 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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf6b32200bf60cb76dcc32bc0fda3da49e9ae3a0078ba0ba1f7b1717e6db6d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ShareEditor (cyclomatic 28, cognitive 27): ShareEditor has cyclomatic complexity 28 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":"desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"354ee956159c94528e94b0cf2d980e05b28e2e920f822ec32e5c6987c156b943"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChatInput (cyclomatic 28, cognitive 25): ChatInput 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":"desktop/src/renderer/src/components/ChatInput.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2f33bb31d5c2c6b8b9e2cecd9034b2fb399f55115c53e659b360d7c8bf533b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkspacePanel (cyclomatic 28, cognitive 22): WorkspacePanel has cyclomatic complexity 28 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":"desktop/src/renderer/src/components/WorkspacePanel.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea2ed2f7bac49bc01859997f250bc4cbe85404deb53e92985f1087a2bca9788"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NavRail (cyclomatic 27, cognitive 21): NavRail 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":"desktop/src/renderer/src/layout/NavRail.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8b311c6bc436fe21b4552e59bd5bb26960993e1ae9cf38165d6263ba5ae212"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rebuildCapabilityVoiceDropdown (cyclomatic 26, cognitive 32): rebuildCapabilityVoiceDropdown has cyclomatic complexity 26 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":"channel/web/static/js/views/models.js"},"region":{"startLine":1788}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de85e9a09b4f133c219762393160fd67acd9f6a9e978ce87cd2aa02a1bfebb7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 28): (anonymous) 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":"channel/web/static/js/views/tasks.js"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06a0b158d4088045ce555b4e7128882bb592ca0e32c02467abd05ac8f19f239"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ShareItem (cyclomatic 26, cognitive 24): ShareItem 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":"desktop/src/renderer/src/pages/settings/shares/GuestSharesCard.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"e945a69f2037940e3752ef8332cd653475a178f359fcfbfa726c901b5520c8ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ToolStep (cyclomatic 26, cognitive 23): ToolStep has cyclomatic complexity 26 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/MessageSteps.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff1a3350117373c0b954a12aa61a129bb2a49787742a2d9de5367c56de71524"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 22): (anonymous) 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":"channel/web/static/js/views/channels.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac50334f403ca8f808267f78bd61135b201838caf67e07aaf8c0daa8187ea22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discover (cyclomatic 25, cognitive 29): discover 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":"desktop/src/renderer/src/pages/settings/ModelCatalogEditor.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a049f47e09a17a1767df3547dcdf9f882e2c23128a2f87b0f6bc4cb0f10ef1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onmessage (cyclomatic 25, cognitive 26): onmessage 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":"channel/web/static/js/chat/send.js"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc43bc4a70c29ebdb8df2535f8a129e53731da69a01c6d541b86b8250729f35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wsRenderPreview (cyclomatic 25, cognitive 25): wsRenderPreview 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":"channel/web/static/js/workspace.js"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"323f11aeb7e429ab391e474aa5d510d56749c8bbe99e31a843087a97f76ccdf9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _fillShareEditor (cyclomatic 25, cognitive 24): _fillShareEditor 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":"channel/web/static/js/views/shares.js"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"0164e151fd32a1087d7776e5c38a2e785fb468be9f38acb3e595edecec4eec07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderItem (cyclomatic 25, cognitive 23): renderItem 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":"desktop/src/renderer/src/components/MenuEditor.tsx"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"9246248dfe8ff2d74e7d7a3b2114bb1886aaeec12302becefd5a868b2eb7fa71"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 20): (anonymous) 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":"channel/web/static/js/chat/render.js"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39a87bfb0dd244021ce1feab8d8b83906fc1f3bf38b9d1959beacf988ad4ea3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UpdateBanner (cyclomatic 25, cognitive 16): UpdateBanner has cyclomatic complexity 25 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/UpdateBanner.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c45957e9adc8fcf6f69e86a0a520e552f16f111a33532488f81c3d66b0c5087"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onProviderChange (cyclomatic 24, cognitive 31): onProviderChange has cyclomatic complexity 24 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":"channel/web/static/js/views/config.js"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06ba27b4c200a1dc5329c212e641145a4487d1f1322d4f72014bc241784910e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _ctVars (cyclomatic 24, cognitive 28): _ctVars has cyclomatic complexity 24 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":"channel/web/static/js/core/themes.js"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b8edbd44fc86bec40a8b704be0fa5a094e1826191e44803ab5c337aba48de8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _knowledgeResultMessage (cyclomatic 24, cognitive 25): _knowledgeResultMessage 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":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"814137714abecca651d0e7fa9f3570bca70e124247336475b064ee6cced78e25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveShareEditor (cyclomatic 24, cognitive 21): saveShareEditor has cyclomatic complexity 24 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/shares.js"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3d18b288a71b0a07b58e4ea00daf9e53019c4bc2e91fa4e12d8ed134d5379e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IntegrationsTab (cyclomatic 24, cognitive 21): IntegrationsTab has cyclomatic complexity 24 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/IntegrationsTab.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbed8dc45e17fd36bd6a9e36d85ab57c0386fcc8e0a6dc1ae27529264991a448"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sweepWindowsShortcuts (cyclomatic 23, cognitive 54): sweepWindowsShortcuts has cyclomatic complexity 23 and cognitive complexity 54; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/app-icon.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"30320f05a1caee9964bb3c3e4a13e5e2d11473205a8bfbd3992eb98e0459fd85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveCapability (cyclomatic 23, cognitive 27): saveCapability has cyclomatic complexity 23 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1938}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2200f06a1aaa4e0f91b018081638d10e1495d953354806afe42d08a2ad316ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shareTurnHtml (cyclomatic 23, cognitive 21): shareTurnHtml 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":"channel/web/static/js/views/shares.js"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"61dde2949fd9874293b9d43f1b7579ff6cfc3eaab4dda27cfcf3a53df4b5c130"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openKnowledgeDialog (cyclomatic 23, cognitive 20): openKnowledgeDialog 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":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8cf68c680277339d168fce3ae87dcdbd0264a334df449a7a59337751a37e956"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadConfig (cyclomatic 23, cognitive 17): loadConfig has cyclomatic complexity 23 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":"desktop/src/renderer/src/pages/settings/BasicSettings.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"4191fc40914287ef6485e997198a720f86f77feab848981a48610bf4fd14aeed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _meItemHTML (cyclomatic 22, cognitive 30): _meItemHTML 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":"channel/web/static/js/views/menu-editor.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83d249934a492ed52c40c2e25f3f6136149027cdebf71d3c0329808e1108d38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function navigateTo (cyclomatic 22, cognitive 23): navigateTo has cyclomatic complexity 22 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/nav.js"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"473839d108642c9c24695c20cbaefa0af3f5db5a7e25844f00fcbba19543c231"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Turn (cyclomatic 22, cognitive 19): Turn has cyclomatic complexity 22 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":"desktop/src/renderer/src/pages/settings/shares/ShareDialogs.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"87eefda0aff49dc88637da881b1644df2e73a2eae582dce3d8fdd1a81f81b956"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeTheme (cyclomatic 22, cognitive 17): normalizeTheme 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":"desktop/src/renderer/src/theme/themes.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"360f53f1f63a1d0ac1b0d9200f789a6ac56f18ba974ae7ee572b2270dbfd1c3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderStepsHtml (cyclomatic 21, cognitive 38): renderStepsHtml has cyclomatic complexity 21 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":"channel/web/static/js/chat/render.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"7066e06de6f4b69d2b9672b39352ee97c30cfe62ec575e5be14372cda72ca731"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refresh (cyclomatic 21, cognitive 23): refresh has cyclomatic complexity 21 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/agentStore.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1842a7965a3723158aed4a8e23a4411f995af9727e57e9817f3fb4d44257d8e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function send (cyclomatic 21, cognitive 21): send has cyclomatic complexity 21 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":"desktop/src/renderer/src/store/chatStore.ts"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a89a556f8b7082f6809cec02d8a90a0809f72752551944e7bc5f3d5bc802434"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openTaskEditModal (cyclomatic 21, cognitive 20): openTaskEditModal has cyclomatic complexity 21 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/tasks-modal.js"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f12387a3b901c0e7a337d28447bbf29e2cc2587a14c8bfc9d8850ec481caf25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KnowledgeDialog (cyclomatic 21, cognitive 19): KnowledgeDialog 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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f9a5e498ac7b01ce0de47ea7d3095ac4be5bf5c0bbcf38f7a4a06cf4f2c234"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function switchFeishuMode (cyclomatic 20, cognitive 29): switchFeishuMode 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":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4187f17add31dbbb90f51fd4803018e387ae04bacbba1575ce7409f7070d35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function switchWecomBotMode (cyclomatic 20, cognitive 29): switchWecomBotMode 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":"channel/web/static/js/views/channels-wecom.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f11597a71b6ed38dd9b7af699c4386400f19a4e28eb690dd1d70077ab5d58e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attachmentsFromSteps (cyclomatic 20, cognitive 29): attachmentsFromSteps 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":"desktop/src/renderer/src/store/chatStore.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"b927ced8a79ec4f4ade9f1f7c7ac2766f15b2dc2773978d27eb52cdf0458f7b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 26): (anonymous) has cyclomatic complexity 20 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/state.js"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"229e4606a3c9321f9ca6b2067f2d8c2537629818379ce829a27d78ec51ce7f62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rebuildCapabilityModelDropdown (cyclomatic 20, cognitive 25): rebuildCapabilityModelDropdown 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":"channel/web/static/js/views/models.js"},"region":{"startLine":1698}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eedb0371523013c63cdf3d24dbecee341fc5f3541a491fd34937d5a05b5629d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveEdit (cyclomatic 20, cognitive 23): saveEdit 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":"desktop/src/renderer/src/store/workspaceStore.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"471ac65744c345247a2b2fd1a5f6a9a255917d9a15bd843ba1330f4b36cf4a05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importTheme (cyclomatic 20, cognitive 20): importTheme has cyclomatic complexity 20 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/themes.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e902e205bf1cb22ba5b1abf3777bed39217dfe6f7116f40b091cda9ecffecdc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function VendorModal (cyclomatic 20, cognitive 18): VendorModal 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":"desktop/src/renderer/src/pages/settings/ModelsTab.tsx"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6473448c66e45f939911f875ee756f1a880013592790c210200938e7edc97b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentAvatar (cyclomatic 20, cognitive 17): AgentAvatar 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":"desktop/src/renderer/src/components/AgentAvatar.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d214df9fa8be7d3396ef5e19f96dc249d0749ed03afec8f8c27c8c7296bf48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskEditModal (cyclomatic 20, cognitive 17): TaskEditModal 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":"desktop/src/renderer/src/pages/TasksPage.tsx"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"179989f279849301c4782ab24187c8fd2b5b7b5db027eb19cd03c10f8e8f8ce2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 25): (anonymous) 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":"desktop/src/renderer/src/components/MentionText.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d99beaf1fcb587e12192d64bf3727dda3944f91e3e1ffc2e77bc62c18501e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSkillFrontmatter (cyclomatic 19, cognitive 24): parseSkillFrontmatter has cyclomatic complexity 19 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/skills.js"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"828752ea766abff9fb34d125863f878b611e303696f216fe44145c6d24a7af06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSkillFrontmatter (cyclomatic 19, cognitive 24): parseSkillFrontmatter has cyclomatic complexity 19 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/skills/frontmatter.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c4236bf34a907601e94dd4bee9a9dc263e59764d5a8f05d9b5b12978daa20a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ArtifactsPage (cyclomatic 19, cognitive 21): ArtifactsPage has cyclomatic complexity 19 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/ArtifactsPage.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b410b3f682e41e05ea3c01490c9490b2c6e64da4daa825c7241025414f4b73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Thumb (cyclomatic 19, cognitive 19): Thumb 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":"desktop/src/renderer/src/pages/artifacts/ArtifactCard.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd39f67aed6a9b7e85ab739a82b4c52c521076167387df9b05e1aef29ae40ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TtsCard (cyclomatic 19, cognitive 18): TtsCard 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":"desktop/src/renderer/src/pages/settings/ModelsTab.tsx"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b25ac1968f420b19caf0f124440fc768ae716ff721d031bf6491e590d7951c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OnboardingWizard (cyclomatic 19, cognitive 17): OnboardingWizard 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":"desktop/src/renderer/src/components/OnboardingWizard.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"687d1fb41182cfa426915bf86ac112ed06ce1ecb8cdd4d1e9b8fe2886d9abab8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _artRenderPreviewChrome (cyclomatic 19, cognitive 16): _artRenderPreviewChrome 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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0521e08d81534cba476e75dda7eb125e589f672629b1caf1796ef4263d307c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 18, cognitive 30): fetch 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":"channel/web/static/js/chat/state.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa162870e71ae049a936f9e293a2d398a94f6e39b2423f6fcf7f1642af6bcc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKeyDown (cyclomatic 18, cognitive 24): handleKeyDown 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":"desktop/src/renderer/src/components/ChatInput.tsx"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3441117c4cb361e3570c1aad3824df65b4686331c9a831f59d7c90226e5b697"}},{"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":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"35351838fe7a99eb6688ea5218b6f83f90b46affb0465f3e5441dec8b27e28d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function historyToMessage (cyclomatic 18, cognitive 18): historyToMessage 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":"desktop/src/renderer/src/store/chatStore.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4c41a47be387245fd7d0611a7b56c2e50e66723ff104c47683a0e60df10c6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _artCardHTML (cyclomatic 18, cognitive 17): _artCardHTML 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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc575f7d29e98a54c161bdff3be26bb0b28a905d1a96e825984b7299b0f7096"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _meOnClick (cyclomatic 18, cognitive 17): _meOnClick 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":"channel/web/static/js/views/menu-editor.js"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3f3d4567de466ab2981d58df17bfb2eb27006b02bec1612e351a844af6ea9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function QrScanPanel (cyclomatic 18, cognitive 17): QrScanPanel 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":"desktop/src/renderer/src/components/QrScanPanel.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad771f4b5e4dfb77d3cb6ae8abad7b4d04c35fe6c7cc42d0d01ea8d65003e2e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CapabilityCard (cyclomatic 18, cognitive 17): CapabilityCard 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":"desktop/src/renderer/src/pages/settings/CapabilityCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed505bbf2c5c42a6bfd374accefd2d9d2d3bf07991f08b71102583b6a4d9758"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 16): (anonymous) 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":"channel/web/static/js/views/agents.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f656197ac416316395e7f57f9a06fc9bbe1c7005b10eba51cc00e7da08d8b770"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fill (cyclomatic 18, cognitive 16): fill 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":"desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b116c75578175a23d2cc24c474880546fce9159d85e0f21cb98175354a3a9c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readZip (cyclomatic 17, cognitive 23): readZip 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":"desktop/src/main/themes.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"24df39785e51dd65abaf6bae8e1ccbbb766360ac17429f09142ee3c9d05c2360"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function save (cyclomatic 17, cognitive 20): save 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":"desktop/src/renderer/src/store/docEditorStore.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9438f726ee0e2d191fba59b5fada372540071155fb4aa848c44c6526285e5e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openCustomProviderModal (cyclomatic 17, cognitive 17): openCustomProviderModal 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":"channel/web/static/js/views/models-custom-provider.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4524e5a8f7e627eb5142ea2b5cdc284a027b349d98ff1f51d6c03027afedf532"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function maybeNotifyScheduledRun (cyclomatic 17, cognitive 16): maybeNotifyScheduledRun 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":"channel/web/static/js/chat/scheduler-notify.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"452de2e0420edfe1c6cef5bb626f2bf32f01743058da37a2e6ed624105374616"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _sessionItemEl (cyclomatic 17, cognitive 16): _sessionItemEl 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":"channel/web/static/js/views/sessions.js"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"8169e3ed80f9ed2cc0dcf4532c663237bb7bb4fac89bcaa4aae351baedfa3660"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _artOnKey (cyclomatic 17, cognitive 15): _artOnKey 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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5048bf266e9db5f2fb9cc1cd40d8ac9196ca57cb7a9072008ad9b226717fa9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncReasoningEffortOptions (cyclomatic 17, cognitive 15): syncReasoningEffortOptions 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":"channel/web/static/js/views/config.js"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"255461bc8f17157c15af7052b6e63101a01389f9e5aef92403cfc81ee8dadfe8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderFileCard (cyclomatic 17, cognitive 13): renderFileCard 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":"channel/web/static/js/workspace.js"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"6391c14357835be3932ea60683a084ae7b899abdf07e859e7c15c166c8922a95"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ContextUsagePopover (cyclomatic 17, cognitive 12): ContextUsagePopover has cyclomatic complexity 17 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/ContextUsagePopover.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd0a3f8ea94594fc16f7518dc6bd2798443fa17a8d3a0e80d5aa4d5266c9974"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startSSE (cyclomatic 16, cognitive 22): startSSE 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":"channel/web/static/js/chat/send.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8a4753bd32a10fef45ae5c5464f32d7bae7bb8ea75efdadc88cd8ab86a7e22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onCapabilityProviderChange (cyclomatic 16, cognitive 22): onCapabilityProviderChange 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":"channel/web/static/js/views/models.js"},"region":{"startLine":1856}}}],"partialFingerprints":{"codehealthFindingId/v1":"528d05085cfff90cb05d4d284931bac95b51fda30611ebe5eabecb1ed9c7e251"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _ctResolve (cyclomatic 16, cognitive 20): _ctResolve 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":"channel/web/static/js/core/themes.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4843e906d88046072c3c08f78389de787b80cc0d3a5a1d11d1acdc2fa0d1a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderSubagentStep (cyclomatic 16, cognitive 18): renderSubagentStep has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/utils.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"26df62834c444bff84db86514d2f58c4729947fc70b0d4ce1ffc93fe19406676"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 18): (anonymous) has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/ChatPage.tsx"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"eafd680ddc918589780a0ecdb842e3eceb08e4be32a1702b8a3c43df8216e010"}},{"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":"desktop/src/renderer/src/components/QrScanPanel.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"206dde8f92e915bc913a1e939313353425493c9c896ebab1fb9f3ce77f40027e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function savePreviewEdit (cyclomatic 16, cognitive 16): savePreviewEdit 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":"channel/web/static/js/workspace.js"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"c565463a46138fd4f42dd4764ce4b201d522295d8cb6144380b17510c331efe7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChannelTeamSelect (cyclomatic 16, cognitive 15): ChannelTeamSelect 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":"desktop/src/renderer/src/components/ChannelTeamSelect.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54bea0b3bb3a6cb461f357fe3833967625925c6800de07021dd1a8916cc8156"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function poll (cyclomatic 16, cognitive 15): poll 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":"desktop/src/renderer/src/hooks/useBackend.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"e616be8f0ca74e03f8b55fe5c1dc774e1332f5cf33e5ff69fc922b80f6a09dc3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MemoryPage (cyclomatic 16, cognitive 15): MemoryPage 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":"desktop/src/renderer/src/pages/MemoryPage.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"45051ba0fd1d92b7b1c5eebbbdcbcc7f8ba1c4a419b08e6aac176b4d4a70e6d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveAgentConfig (cyclomatic 16, cognitive 14): saveAgentConfig 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":"desktop/src/renderer/src/pages/settings/BasicSettings.tsx"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0cf1415bf39f0cdbe18e458d4a1c584cc76afd7ea636f6a1b72add8ce5728cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CatalogModelSelector (cyclomatic 16, cognitive 12): CatalogModelSelector 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":"desktop/src/renderer/src/components/ModelSelector.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"30913730086692441cf51e3c03d225d43fa8c9712d2155df58a6ecda72a8c665"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preview (cyclomatic 15, cognitive 22): preview has cyclomatic complexity 15 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/workspaceStore.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3ae3d5cd788f3e550b7cc1f59b354e2250100f5a787c1213d99f55cc50781c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function maybeNotify (cyclomatic 15, cognitive 21): maybeNotify 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":"desktop/src/renderer/src/hooks/useSchedulerNotifyPoll.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"db019b03df9d42d14109040b5f3ae2ddf9100860dd61ff2eef5113535c427943"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseMcpJson (cyclomatic 15, cognitive 20): parseMcpJson 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":"desktop/src/renderer/src/pages/skills/mcpConfig.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5538d426d834124939a51c3afb433290550c936f69f4ca27dae967be8f1b7845"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setAgentKnowledgeMode (cyclomatic 15, cognitive 17): setAgentKnowledgeMode 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":"channel/web/static/js/views/agents.js"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a9096562eb8c827038e814e1ddf8c7e1331d142b84f12e65f4daa0e4ed6e36"}},{"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":"channel/web/static/js/workspace.js"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0be44f5cfe91008bff066373588904d41e049f4952c025e8ac9de9d236f269"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configForJson (cyclomatic 15, cognitive 17): configForJson 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":"desktop/src/renderer/src/pages/skills/mcpConfig.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e351fdcfa4621ba641d048307fcda10ece546d05bac16b32830f12caa761389"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startEdit (cyclomatic 15, cognitive 16): startEdit 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":"desktop/src/renderer/src/store/workspaceStore.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe9b07020ea48403c9074733e7a324378c8759e7a89a852a1b4a0b85c65fbb4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function save (cyclomatic 15, cognitive 15): save has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/doc-editor.js"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcecc35a242d1e429454203562f40ba91d6d2ed9b672b6abe6e7cc50e9bab60b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverCatalogModels (cyclomatic 15, cognitive 14): discoverCatalogModels 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":"channel/web/static/js/views/models.js"},"region":{"startLine":2694}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8161079dac55380323b690a100518807f248d68e61ce254409a7b8618a618a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PreviewCard (cyclomatic 15, cognitive 14): PreviewCard 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":"desktop/src/renderer/src/pages/skills/SkillAddModal.tsx"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"733dc5f0efe7871a9bd3b3c492cdbb90572a6b24f01ec4bb00d461761ca86051"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _renderModelChip (cyclomatic 15, cognitive 13): _renderModelChip 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":"channel/web/static/js/chat/session-settings.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4830dc4a10dad1461934c3df8cc51dade3883fe48ff215eff3133d814760435"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleProviderChange (cyclomatic 15, cognitive 13): handleProviderChange 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":"desktop/src/renderer/src/pages/settings/BasicSettings.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"062f842bea8d224680d701d0905f1cd62d41ec692a02205c54378395c7897ab9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentSelector (cyclomatic 15, cognitive 12): AgentSelector 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":"desktop/src/renderer/src/components/AgentSelector.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2138b37932a9051557dbd609d39ffebadc2f0180eecc0b60b30d92b8f931db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 12): (anonymous) 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":"desktop/src/renderer/src/layout/SessionList.tsx"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a11cfcb3e950863ad3ce41be2dd93165bf924fe8e7e7f26671856858be3f07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function agentAvatarHTML (cyclomatic 15, cognitive 11): agentAvatarHTML 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":"channel/web/static/js/views/agents.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa7d13e1bb37726ee0c4b906a4891948fe84171af71b6fda3cbd99115053e99"}},{"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":"desktop/src/main/themes.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f466d57b783d457f7388d9bf54b15e5d9538e8513a5c71ff25eec4fbf07c1bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 14, cognitive 20): run has cyclomatic complexity 14 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/ChannelsPage.tsx"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a296bd79328ee04fcffedfc525859cf451f22591de323088702ac4fff36fe0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createBotMessageEl (cyclomatic 14, cognitive 18): createBotMessageEl 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":"channel/web/static/guest/guest.js"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"b539b964c90e7a002d74b77484dde99a5f03f6c455cae40ef685702a12173a8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseMcpJson (cyclomatic 14, cognitive 18): parseMcpJson 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":"channel/web/static/js/views/skills.js"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2eaeb4477b639de62bddc3761d6ec2508d2fcf639c552508ae3e3fb67c14c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyWallpaper (cyclomatic 14, cognitive 17): applyWallpaper 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":"desktop/src/renderer/src/hooks/useTheme.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ced3edbc80b93b03ca06a8ac0049306d578f8fd43ebc15064d0bcc2c0fa32e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function editUserMessage (cyclomatic 14, cognitive 16): editUserMessage 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":"channel/web/static/js/chat/message-actions.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"9150bae5987fc68aa6e6bac267882a543e4eb304b97716142218cb65d4b6aeb3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onerror (cyclomatic 14, cognitive 16): onerror 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":"channel/web/static/js/chat/send.js"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b961fe4a00ed19f9ea25061163cbdc36b037b472b273dbed1c955b9ecd4e48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function switchSession (cyclomatic 14, cognitive 16): switchSession 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":"channel/web/static/js/views/sessions.js"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"de600069872ce52bff76d82d77b70c388b895339d6ae3cf711fdf1d31736cbbb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _nextOrigin (cyclomatic 14, cognitive 16): _nextOrigin 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":"channel/web/static/js/views/shares.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b9fe9fb8f84adb235862e0304fda130297be670450958ab3f17e86186f400a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _switchToView (cyclomatic 14, cognitive 15): _switchToView 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":"channel/web/static/js/core/nav.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6023f1a7f10d7f77f2916456e6e28c64bafad6be93786882c9d429502d299656"}},{"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":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"b229efcd5693f97c06886ef0cf69adbd76fc46bedfe3cf1032990f7196c3c3d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showRunDetailModal (cyclomatic 14, cognitive 13): showRunDetailModal 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":"channel/web/static/js/views/tasks.js"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"b225a872f56c4b542d4992e9ae9e7cc90bd49f33b996bd565aef2e4a27b5b234"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentProfilePane (cyclomatic 14, cognitive 13): AgentProfilePane 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":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"df227f9c5a20d2c385ff1445cc4fefc0e9c319b9c4def03112403c54ba3beaf2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function McpEditorModal (cyclomatic 14, cognitive 13): McpEditorModal 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":"desktop/src/renderer/src/pages/skills/McpEditorModal.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"822acc3512c5a4a98608baa9737ccb6a2669b1860926c3f955e8101009fc1605"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _renderSentFileFromToolResult (cyclomatic 14, cognitive 12): _renderSentFileFromToolResult 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":"channel/web/static/js/chat/render.js"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a43a788536e0142be1060eb68ad74080e0e6af8643cfdd16d65798c27ae95a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderMessageUsageHtml (cyclomatic 14, cognitive 12): renderMessageUsageHtml 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":"channel/web/static/js/chat/render.js"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b11f595ef1034e989a89441c8faa171b4f785378c0b7b37dbee4f466af157b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fillMcpEditor (cyclomatic 14, cognitive 12): fillMcpEditor 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":"channel/web/static/js/views/skills.js"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1cc936cd262722f0c74be205b9602aa60f8da3cb06d4d22d3981c0f72ae45c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKey (cyclomatic 14, cognitive 12): onKey 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":"desktop/src/renderer/src/pages/ArtifactsPage.tsx"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac856ed7d00fa3e8b7f0e5d802c19e776365972df9324b851d61600ce81056f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 11): (anonymous) 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":"channel/web/static/js/views/skills.js"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c1df86449662629028cc8cd209bbe4fbed6f95c8a6b15c5a0d0c308f53da5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inlineImage (cyclomatic 14, cognitive 11): inlineImage 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":"desktop/src/main/themes.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a8b05aee0af7ebabba2263f02d6e9c6cc62c8ad609e26b65c5750574809207"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyTheme (cyclomatic 13, cognitive 20): applyTheme 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":"desktop/src/renderer/src/hooks/useTheme.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"492c7df3992467acd4f39fd87ff39c79cbd4e4f0c6f5437efd93fdc93437a2a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateKnowledgeImportFiles (cyclomatic 13, cognitive 18): validateKnowledgeImportFiles 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":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"eefed2e1341b8bd6206fc57c80e916b1578d7a20e746f1fb3c7f428cd415de89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function image (cyclomatic 13, cognitive 17): image 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":"desktop/src/renderer/src/components/Markdown.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6eab358c38f78a4543a80bc2eeb2405a7aa30f978c8df2fc86f92161693046"}},{"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":"desktop/src/renderer/src/components/Markdown.tsx"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"855bb7ee4208ae212fe1a52c56e185443baf9b9dad7ed470a26ec6fc8d90e1d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function switchTab (cyclomatic 13, cognitive 15): switchTab 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":"desktop/src/renderer/src/pages/skills/McpEditorModal.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4b3ffe5a71781f3344d64ec9e0d658988328d06ffc11b4d2806d432d8fe15f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function skillRenderBody (cyclomatic 13, cognitive 14): skillRenderBody 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":"channel/web/static/js/views/skills.js"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfaf0a8d5e9b143a352a17997a412b09cc4a315cbdba42b2c76a7909391aed1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadHistory (cyclomatic 13, cognitive 14): loadHistory 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":"desktop/src/renderer/src/store/chatStore.ts"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fcc66b3484da5895fd2d12e882db31a3bf83599888382050d845081a813f895"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startEdit (cyclomatic 13, cognitive 14): startEdit 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":"desktop/src/renderer/src/store/docEditorStore.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdbba623c9bfb1891091637a022adeaddf25b80b15fa1cca7c66eec10040aaa7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _menuRenderPage (cyclomatic 13, cognitive 13): _menuRenderPage 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":"channel/web/static/js/core/menu.js"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e6e5615ac8d53eaa8a58b35a089559a9617c594c6f3b7cb7b56813e272d154"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function artJumpToSource (cyclomatic 13, cognitive 13): artJumpToSource 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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8932f28ffe16a92ac7717fb9aec062409d5e82bb2863fad3bc7bf271a84d87c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rerenderDynamicViews (cyclomatic 13, cognitive 12): rerenderDynamicViews 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":"channel/web/static/js/core/i18n.js"},"region":{"startLine":2665}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8c1efddfa943005aac7c384918394820bc829983a1ca9c2e9b1dfcdc77a198"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderAgentDetail (cyclomatic 13, cognitive 12): renderAgentDetail 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":"channel/web/static/js/views/agents.js"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8edc082a614f9a3df175ca35e8777a0da01c3bd0050daf1b43db6a1687b0753"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkspaceSelector (cyclomatic 13, cognitive 12): WorkspaceSelector 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":"desktop/src/renderer/src/components/WorkspaceSelector.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c45cfbc4d0f7d1bebd32577b0b56ca5ecb038d0a15d5cacd81ae6314db83195"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ArtifactCard (cyclomatic 13, cognitive 12): ArtifactCard 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":"desktop/src/renderer/src/pages/artifacts/ArtifactCard.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"89bafbf663dbe9db873227807e255c4f20f1963b9619c1f67660411d3416527e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SearchKeyModal (cyclomatic 13, cognitive 12): SearchKeyModal 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":"desktop/src/renderer/src/pages/settings/ModelsTab.tsx"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c9e028ad376a01416a1c0398383843febc455703f8691cd753b305cff34abb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitAssistantTurn (cyclomatic 13, cognitive 11): splitAssistantTurn 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":"channel/web/static/js/chat/render.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cee529bf0ec4542d5f274879f772a2cfdcaba6cb257f974ccbf396ac7a29989"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderRunCard (cyclomatic 13, cognitive 11): renderRunCard 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":"channel/web/static/js/views/tasks.js"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1710a6a8674d64a4d2487f2b26605122d8dea7d760938cf089b82fe4779e49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 11): (anonymous) has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/TasksPage.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d53f464d04fe25b8ee320cb194e03f2a10ba1e12d7bcd924267431c51dec064"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 11): (anonymous) has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/TasksPage.tsx"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"675ec5d48053ebc3e4799a1bb0ce494fa3441ce210106ec928198cf60beb7160"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentScopeSelect (cyclomatic 13, cognitive 10): AgentScopeSelect 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":"desktop/src/renderer/src/components/AgentScopeSelect.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"427b0ef8b8a073270cc02627325a5600435475d4cc47d852bc899704dab880ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChannelsPage (cyclomatic 13, cognitive 9): ChannelsPage 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":"desktop/src/renderer/src/pages/ChannelsPage.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e08337453150a6310e716ac8c6ef3beac1fd20d09e4047769390d03445791c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _meValidate (cyclomatic 12, cognitive 20): _meValidate 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":"channel/web/static/js/views/menu-editor.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f8dcd2688dfa9fc5e8358e7c4722f8909132a0af3b60679b02da0b6a4bdd07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inlineThemeAssets (cyclomatic 12, cognitive 20): inlineThemeAssets 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":"desktop/src/main/themes.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab4ef45abcda832b170924a787b5c428c76b8d8bd2d5da0f1c9e684297baeb4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 20): (anonymous) has cyclomatic complexity 12 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/MenuEditor.tsx"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"0918c0fd9cd239ea0d5fce427c598b634b58b8a62a5ecd91a09921f4d0f29432"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setUpdateFeedQuery (cyclomatic 12, cognitive 18): setUpdateFeedQuery 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":"desktop/src/main/updater.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d79919ce79a07485c5b17235196ca9550fa9ee43806cde6d25d78a335032284"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 17): (anonymous) has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/send.js"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9d4f536e1527b280dcc724f94f372ec97bf220639619ed8f60b1c3305d9b4e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 17): (anonymous) has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/markdown.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0de8c194e35b1dd7ce4de1ad1fa8de4acac6f387489de0bb85d0e8a3849a28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 17): (anonymous) has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/Markdown.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a84caca15714404c5f2e9e8eeb9a1be3951e2dbb2c2fb3d74c55f0e052a89d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 16): (anonymous) 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":"channel/web/static/js/views/models.js"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"670118bef0d57e87005e794be3ad4036b418e401c165b2ea10597be683a19a41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reorderSpaces (cyclomatic 12, cognitive 16): reorderSpaces 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":"desktop/src/renderer/src/store/sessionStore.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"2468564f6f594d6986a743ffa9a3bdeb0dc5bd5128473fc475954d4a5a082db4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importKnowledgeDocuments (cyclomatic 12, cognitive 14): importKnowledgeDocuments 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":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"346e53b2248577d838ef732590520d80e829e0920dcd001fa13fb3869f89e495"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readImportSource (cyclomatic 12, cognitive 14): readImportSource 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":"desktop/src/main/themes.ts"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1e709bfd6b4a0bab7f3c6127df1ea18459948dc570881f9ce2a21895283cea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function save (cyclomatic 12, cognitive 14): save 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":"desktop/src/renderer/src/pages/skills/McpEditorModal.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"430d6fcbd245444f79e6bca9db2e14020e85439aca994957219f68079a801710"}},{"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":"channel/web/static/guest/guest.js"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e85e9be733a045bd24d407e3da73d8d12985e0adb3963c67ccb99cec7284053"}},{"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":"channel/web/static/js/chat/state.js"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"17625205e12fe6541b71c696290e9639418bee18dfc71140cf4b5ca9de79afaa"}},{"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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4cf3fa4f1802fdef9ec51726750cd3ebf8c6f9dcdfdf33fee656ee5c152fc9"}},{"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":"desktop/src/renderer/src/components/QrScanPanel.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f92d50b1fd8a5022b167a21fc0cd5e6147e6bf7d1aa54714068f3b3cbdb0958"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderVendorBasePresets (cyclomatic 12, cognitive 12): renderVendorBasePresets 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":"channel/web/static/js/views/models.js"},"region":{"startLine":2237}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea8897ed23fdb0bdd3346869d66de4e86086c9883439e426d9bb60b309e4070"}},{"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":"desktop/src/renderer/src/components/QrScanPanel.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf307d7dc7dd84a9d123feb0da80a76ff04104295d4ab6d96c719e4ea13c6f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureBotEl (cyclomatic 12, cognitive 11): ensureBotEl 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":"channel/web/static/js/chat/send.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ba6daea2c0841a56db2d5b06c2ffa38bf95d66d776425bcd9db18e44396eb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveListenHost (cyclomatic 12, cognitive 11): saveListenHost 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":"channel/web/static/js/views/shares.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb04de5efb0ee4531331b2111d85c67d0616e8dd7a965a119d79e230a759bf09"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreDesktopShortcut (cyclomatic 12, cognitive 11): restoreDesktopShortcut 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":"desktop/src/main/app-icon.ts"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda1f854f156830bd702bd25ef4d535e2721be190573b0a7ead306a44fb8ea47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StatusScreen (cyclomatic 12, cognitive 11): StatusScreen 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":"desktop/src/renderer/src/components/StatusScreen.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58be9094dac9de2b7c1e73fba953e92e38caf271c008bfd5459f10ea538667d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentDetail (cyclomatic 12, cognitive 11): AgentDetail 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":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbc0a44cdd2b19f7a702e004850e5189fa6172f5403ef09a438c03cc6598ecf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderComposerAgentMenu (cyclomatic 12, cognitive 10): renderComposerAgentMenu 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":"channel/web/static/js/views/agents.js"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8adbc7dbdd4bc7961513e7ab617ea70420275c321d1a27a4883c9d646cf1e92"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _artMountThumb (cyclomatic 12, cognitive 10): _artMountThumb 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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"157251322f4f8297359ff3cc650dea7d493f5082f98eee620149abb2fd5b206d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderSkillCard (cyclomatic 12, cognitive 10): renderSkillCard 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":"channel/web/static/js/views/skills.js"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"b997887beb7e7a120cd8cdb3f421df64b7592724b6a6f4e03c6b758895659021"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ModelCatalogEditor (cyclomatic 12, cognitive 10): ModelCatalogEditor 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":"desktop/src/renderer/src/pages/settings/ModelCatalogEditor.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94ec9918c0b660ef0e2ca14a6657e396beef9c2506516a8bf5d18ff4bc6ca2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CustomProviderModal (cyclomatic 12, cognitive 10): CustomProviderModal 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":"desktop/src/renderer/src/pages/settings/ModelsTab.tsx"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec14f0f4fc7230230560b9c9480dc058fd5b9b3cc1587beb131da86ef204826e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SearchCard (cyclomatic 12, cognitive 10): SearchCard 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":"desktop/src/renderer/src/pages/settings/ModelsTab.tsx"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f61e67f7085b5722f1862c910a0b96212e7fff2c0c627d7b90010245b4a3e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openDeepseekSearchModal (cyclomatic 12, cognitive 9): openDeepseekSearchModal 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":"channel/web/static/js/views/models.js"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"71794dd3607a12cdaae4c31687fa8b0732446bb6efae3d15243e804685f9a050"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openShareEmbed (cyclomatic 12, cognitive 9): openShareEmbed 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":"channel/web/static/js/views/shares.js"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"f414551757c992fa83aedb410c954398d272ef18b33f8bdddac34114fc3f9274"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SessionList (cyclomatic 12, cognitive 9): SessionList 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":"desktop/src/renderer/src/layout/SessionList.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0bb2c793c92d05b185f4444c0dc60341480c1cdad35f59f0c27f6d432ae21f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wsApi (cyclomatic 11, cognitive 18): wsApi 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":"channel/web/static/js/workspace.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"da09250429f919de26f5f61fb414f7efe576a3c3cb579f06bebf663d9fcfa682"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 16): (anonymous) has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/memory.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f16f35b1d6c596ac8a037ca754735c767abb48ffe43e8f18d78c75eb04fb4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncSkillAddFooter (cyclomatic 11, cognitive 16): syncSkillAddFooter 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":"channel/web/static/js/views/skills.js"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"95fc0d11732bf5a0c433f5ed184af3290b1d8ca76d96719d8542e234745f2b3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function start (cyclomatic 11, cognitive 15): start 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":"desktop/src/main/python-manager.ts"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b64ce7180d849aecc4b4d8de1e3f9bc827f959575d9b51d2175b0495a96e9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanDir (cyclomatic 11, cognitive 15): scanDir 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":"desktop/src/main/themes.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"1853130e82fc88b6b2d8bd1744c89b280356c3ff5ede04f8c2e64b01eda6a2d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderChannelTeam (cyclomatic 11, cognitive 14): renderChannelTeam 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":"channel/web/static/js/views/channels.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf1e80591a497ad39445f332828d36ee28412ab080db595da37f34981aa598a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageSkillPreview (cyclomatic 11, cognitive 14): stageSkillPreview 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":"channel/web/static/js/views/skills.js"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"377e87f4c32e4ce518f0e799800c237dfaaec4d5311ec3b37ab559da7196b222"}},{"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":"channel/web/static/js/chat/context-usage.js"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75aa3b2db024330215efcec5a49fd32489f5e44f6db96219cf547f40023ae40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _artPlaceCard (cyclomatic 11, cognitive 13): _artPlaceCard 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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2bb743da3af2a87f3f36d6dc839c4b1b67e53c04630af8c3b87cf24032a20e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveModelConfig (cyclomatic 11, cognitive 13): saveModelConfig 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":"channel/web/static/js/views/config.js"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f603bccc80491b259dfafbbe214d050b4b286bf534083066bb95253a6ee133"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function switchMcpTab (cyclomatic 11, cognitive 13): switchMcpTab 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":"channel/web/static/js/views/skills.js"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"909d289b6aa9b51ae33d3bffd08b4de3eb8a445bad356413ad6cf6bca1959b58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveMcpEditor (cyclomatic 11, cognitive 13): saveMcpEditor 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":"channel/web/static/js/views/skills.js"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec6bf840f91ee06735ab1b0471f7fba42cd141b1a7c40d7a4c3b79c6d83536a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function carryAgent (cyclomatic 11, cognitive 12): carryAgent 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":"desktop/src/renderer/src/api/client.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"8572df242fe37ba83fe26f5c8e03199aa5b67b15d96bb3d1068d6a40b42cc900"}},{"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":"desktop/src/renderer/src/pages/ChatPage.tsx"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"808eea92c83cf650af536c583a267d3450b4e65f12d491c565cbaf3096a7e801"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submit (cyclomatic 11, cognitive 12): submit 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":"desktop/src/renderer/src/pages/TasksPage.tsx"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e1f18778af14192a5a075374949c8b6864bab26ebbd1eede0218482f582435"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleProvider (cyclomatic 11, cognitive 12): handleProvider 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":"desktop/src/renderer/src/pages/settings/CapabilityCard.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"370b215fe68bd316381556ab6b01dc02a16cf8f462d642bc0264a9c6a976ff4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function togglePin (cyclomatic 11, cognitive 11): togglePin 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":"desktop/src/renderer/src/store/artifactStore.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc70aa691cbaedf6f2087ebbb8efa93074f9bac9da9249cf6e474ca946977ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderModelMenu (cyclomatic 11, cognitive 10): renderModelMenu 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":"channel/web/static/js/chat/session-settings.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c61a8bf7ce478b375bfc7bd300aa57ab1b3dccc88b0d1bf07eb101cde3961d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function menuItemIcon (cyclomatic 11, cognitive 10): menuItemIcon 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":"channel/web/static/js/core/menu.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7f6b6d97a028e60d392f9a92a62a2516c9881e828864aa0826b40031af46b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submitAction (cyclomatic 11, cognitive 10): submitAction 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":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"388a59dea602c434ffe6bc247fc80becbc7c2679efb3285fd7532c5d1028c219"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderCapabilityHints (cyclomatic 11, cognitive 10): renderCapabilityHints 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":"channel/web/static/js/views/models.js"},"region":{"startLine":1507}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a570fc67f384820eb8f88142901ca63b1cd4c5d80e0069ea124e5f30e58fe2"}},{"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":"channel/web/static/js/views/skills.js"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca578890be26375b2e7ec2c54d007706aa3294dc57f09eb196a130dc43763a7"}},{"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":"channel/web/static/js/views/tasks-modal.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0e73a4a70010eb2ed30b451d330ebf46732ce4b24421160b402499a3453e86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shareRequest (cyclomatic 11, cognitive 10): shareRequest 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":"desktop/src/renderer/src/api/client.ts"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf77b7c759229fcdae05e839cb5f2e643e4ceaa13d737ba6a7915c19a0d3e35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startWeixin (cyclomatic 11, cognitive 10): startWeixin 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":"desktop/src/renderer/src/components/QrScanPanel.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"1997533945b328f57e7837c9d69746257e1478da47bed2bf93f0bb275cfcce4c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function poll (cyclomatic 11, cognitive 10): poll 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":"desktop/src/renderer/src/hooks/usePushPoll.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7613fd1f1e041387e887f1f6e26ded81528014a8b0bc888cfb868626ede37b"}},{"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":"desktop/src/renderer/src/pages/ChatPage.tsx"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c04a737ec54d584770ce327bafc2c19ead1bea4ae369dff91be53a93eec8c2"}},{"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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0572ff359f19c647cabd8fdffdd4dd7091c46d07f2404a4623cea3e136ab04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TasksPage (cyclomatic 11, cognitive 10): TasksPage 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":"desktop/src/renderer/src/pages/TasksPage.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7daf96feb72b72e58cb6d824a218eefa3ad16a96ebc28fcdc9945c4ae1ae64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ShareLogsDialog (cyclomatic 11, cognitive 10): ShareLogsDialog 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":"desktop/src/renderer/src/pages/settings/shares/ShareDialogs.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fdeb82d3039e05f570e02b90d1394e7d26ae97bb91f61d571c290be2397b6fa"}},{"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":"channel/web/static/js/chat/render.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3c90dffa251be5830b7bf7889b0f8c2e13ad544ce17b83fe26f3bb29f3c392"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function passwordStrength (cyclomatic 11, cognitive 9): passwordStrength 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":"channel/web/static/js/views/config.js"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e0317e59dd4e808d2f3e7a93e6247d1c2af1754f4aa9805b8de193417e03cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function passwordStrength (cyclomatic 11, cognitive 9): passwordStrength 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":"desktop/src/renderer/src/lib/passwordStrength.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e0f919e3ddaa461cc20faf3530b2d8148bd189fe6d4effe3965d76a36cfc7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentCoreFiles (cyclomatic 11, cognitive 9): AgentCoreFiles 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":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d176bf5ff1220b6e0f97f896f8143087be6075d70fdd55c533081c2cc2190c6"}},{"ruleId":"R3","level":"warning","message":{"text":"channel/web/static/js/core/i18n.js: 2745 lines of code: channel/web/static/js/core/i18n.js has 2745 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/i18n.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6cec810e5c5674ca67d8c9d2b7bd68f95f607f1519c843bc6be136759d1360"}},{"ruleId":"R3","level":"warning","message":{"text":"channel/web/static/js/views/models.js: 2698 lines of code: channel/web/static/js/views/models.js has 2698 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df63c89e9b16a470778e81a4d9605ed2ff163a951be158417ac1740da04535dd"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/renderer/src/i18n.ts: 2472 lines of code: desktop/src/renderer/src/i18n.ts has 2472 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/i18n.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ef7028957fec0b84ec578dabd44dbfd6bccccfc0b61c7e799270ac4662628c"}},{"ruleId":"R3","level":"warning","message":{"text":"channel/web/static/js/views/skills.js: 1872 lines of code: channel/web/static/js/views/skills.js has 1872 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/skills.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b89f6f2d2614dfb96b32693916e6c45a24b0c5b550edbd78d22748b19c67db8"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/renderer/src/api/client.ts: 1462 lines of code: desktop/src/renderer/src/api/client.ts has 1462 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/api/client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"566d346ff11cc604918058f01b601b22441c8febe7f66c6e02bc1fb6562060b7"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/renderer/src/pages/KnowledgePage.tsx: 1400 lines of code: desktop/src/renderer/src/pages/KnowledgePage.tsx has 1400 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6639fae293dada3265a6cabe9f1db06f3477dbbdd4cd2a84f50d4782feba36af"}},{"ruleId":"R3","level":"warning","message":{"text":"channel/web/static/js/views/agents.js: 1334 lines of code: channel/web/static/js/views/agents.js has 1334 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/agents.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22d9e31665574db68959001d0900e6eb9f4a4c98ba601053a78c9b85b794978"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/renderer/src/pages/TasksPage.tsx: 1254 lines of code: desktop/src/renderer/src/pages/TasksPage.tsx has 1254 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/TasksPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fa039934765fc13c3591a182d3737b15b9564e6eadd0c1a23d696caf95414f"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/renderer/src/pages/settings/ModelsTab.tsx: 1249 lines of code: desktop/src/renderer/src/pages/settings/ModelsTab.tsx has 1249 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/ModelsTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"717af23130af96a1a63229db8411dfb5fd8bb20da05b2cd91d26f5e0138cdf09"}},{"ruleId":"R3","level":"warning","message":{"text":"channel/web/static/guest/guest.js: 1248 lines of code: channel/web/static/guest/guest.js has 1248 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/guest/guest.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d4522d2d4e3f488d85cf4a88d997a1f3b85ed65e449f938330c1041f26a6d6"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/renderer/src/types.ts: 1242 lines of code: desktop/src/renderer/src/types.ts has 1242 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ae61d7c13c045e680a004be79ffc9264944bfa113da5d0641982fbfc180e99"}},{"ruleId":"R3","level":"warning","message":{"text":"channel/web/static/js/workspace.js: 1236 lines of code: channel/web/static/js/workspace.js has 1236 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/workspace.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29556a3ef0bdbe960f5af4d6a63d91b447db6bf934845e240907f4158846bc5c"}},{"ruleId":"R3","level":"warning","message":{"text":"channel/web/static/js/views/shares.js: 1142 lines of code: channel/web/static/js/views/shares.js 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":"channel/web/static/js/views/shares.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2685ff681636a6927dbf6af9fe850577cc7a7318e7b6d7ae3a18032fe0700c69"}},{"ruleId":"R3","level":"warning","message":{"text":"channel/web/static/js/views/artifacts.js: 1018 lines of code: channel/web/static/js/views/artifacts.js 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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de27188a46a29fa925ec225b36ece6ee4aee5d2b5bab8f326ac2fe4f944fc52"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/renderer/src/store/chatStore.ts: 1013 lines of code: desktop/src/renderer/src/store/chatStore.ts has 1013 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/chatStore.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5c399d3d4bc255976126584af26246458c29392b2203e14abd502aff16d361"}},{"ruleId":"R3","level":"warning","message":{"text":"channel/web/static/js/chat/send.js: 1012 lines of code: channel/web/static/js/chat/send.js has 1012 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/send.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3edd137e147018cfa0a9fb16f61e89b713731affec0d1a5f596980eb5a508af"}},{"ruleId":"R3","level":"warning","message":{"text":"channel/web/static/js/views/knowledge.js: 1002 lines of code: channel/web/static/js/views/knowledge.js 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":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b920afd5b8f19a42e7264c2f2a59d200ca802f253dc0077715c47465fed6f214"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/renderer/src/pages/SkillsPage.tsx: 961 lines of code: desktop/src/renderer/src/pages/SkillsPage.tsx has 961 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/SkillsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b8405b069f267248b971a48a939cf53bb4bfe7afb176afdf5b413d5c6d851c"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/renderer/src/pages/AgentsPage.tsx: 959 lines of code: desktop/src/renderer/src/pages/AgentsPage.tsx has 959 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d2c66ef1fc1d4842761120eb9f74ac9d1b9602709e4d23d02b7b74312fda11"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/main/python-manager.ts: 958 lines of code: desktop/src/main/python-manager.ts has 958 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/python-manager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b27ced47b8487086d613df8e65ae6a999f382834994e5fc65024be28bbf3056"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/renderer/src/components/ChatInput.tsx: 935 lines of code: desktop/src/renderer/src/components/ChatInput.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":"desktop/src/renderer/src/components/ChatInput.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc37bde94f8fdfd16809a65805bb74320ab55e37cfaeb992d12f59639e4b58e"}},{"ruleId":"R3","level":"warning","message":{"text":"channel/web/static/js/chat/render.js: 916 lines of code: channel/web/static/js/chat/render.js has 916 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/render.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa47151bd8614630cbbdbc948f5591ef3b9267084e772d2b6d8999545416bf14"}},{"ruleId":"R3","level":"warning","message":{"text":"channel/web/static/js/chat/state.js: 893 lines of code: channel/web/static/js/chat/state.js 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":"channel/web/static/js/chat/state.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e84c36bd707cb22d2ba38cfd6928e0e18a3ae425bd65c3ae660af412b14d0f"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/main/index.ts: 889 lines of code: desktop/src/main/index.ts has 889 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"281f3caac9c899ed62941a4ee554833a40aafc93671263b516cfad279530637b"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/renderer/src/pages/ChannelsPage.tsx: 819 lines of code: desktop/src/renderer/src/pages/ChannelsPage.tsx has 819 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/ChannelsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c688cf6c8ede09fdcdb825515899b08e386bf8da97d717cef77758fab53e59ba"}},{"ruleId":"R3","level":"warning","message":{"text":"channel/web/static/js/views/sessions.js: 817 lines of code: channel/web/static/js/views/sessions.js has 817 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/sessions.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"107615b8ff61d4d4fe0a85a7d3dbeff8e934ed27ffd6e0f4121ba08d2b02fb87"}},{"ruleId":"R3","level":"warning","message":{"text":"channel/web/static/js/views/config.js: 798 lines of code: channel/web/static/js/views/config.js has 798 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/config.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"515c11b0a74217ac2786d9bb3837d660da3642ca19071bb68e103a163844be1d"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/renderer/src/components/MenuEditor.tsx: 728 lines of code: desktop/src/renderer/src/components/MenuEditor.tsx has 728 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/MenuEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3f963aeb044364bc3f95faea01157fda1bda4fdcadbaf1571fd7fbea6661d7"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/renderer/src/pages/settings/BasicSettings.tsx: 721 lines of code: desktop/src/renderer/src/pages/settings/BasicSettings.tsx has 721 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/BasicSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"350dfeb493db101204cd80fd7fc810bf679e612751349c39fc1c7846e6ed0ee5"}},{"ruleId":"R3","level":"warning","message":{"text":"channel/web/static/js/views/tasks-modal.js: 692 lines of code: channel/web/static/js/views/tasks-modal.js has 692 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/tasks-modal.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50fb14fc06fc6384ce1f4b249153704a6587e28bfb04a443cb96b022b7995196"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/renderer/src/layout/SessionList.tsx: 653 lines of code: desktop/src/renderer/src/layout/SessionList.tsx 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":"desktop/src/renderer/src/layout/SessionList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb51c0aef1cc39e2fbe1d17bcf54f018040eb1c3fda40346880312d7807a8a77"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/renderer/src/pages/skills/SkillAddModal.tsx: 630 lines of code: desktop/src/renderer/src/pages/skills/SkillAddModal.tsx has 630 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/skills/SkillAddModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4857b267177d826ed21ff78255277ec7692ecde0d207277152e1f9b3e60b5d9c"}},{"ruleId":"R3","level":"warning","message":{"text":"channel/web/static/js/core/themes.js: 606 lines of code: channel/web/static/js/core/themes.js has 606 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/themes.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4c498d3d3ec08a3cc98a2fc357469c063774bd86105f0e19738c2fbc68d5d4"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/renderer/src/pages/ChatPage.tsx: 587 lines of code: desktop/src/renderer/src/pages/ChatPage.tsx has 587 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/ChatPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c916a3323e93d775d0e6041de4f83d9b00cfa448cc53d8a9ed496300d9157a"}},{"ruleId":"R3","level":"warning","message":{"text":"channel/web/static/js/views/channels.js: 584 lines of code: channel/web/static/js/views/channels.js has 584 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"624b891b4ed7c5db7659a9e487e8fdb1bb88bb29cb00052635cc86a6843478df"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/main/app-icon.ts: 568 lines of code: desktop/src/main/app-icon.ts 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":"desktop/src/main/app-icon.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeac9c3d1ebffe03391863cf4e55cc52fa9a82a2f1cf720ff486dc37126cf0cc"}},{"ruleId":"R3","level":"warning","message":{"text":"channel/web/static/js/core/markdown.js: 532 lines of code: channel/web/static/js/core/markdown.js has 532 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/markdown.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86bd122b5f9f715f9169ad8d046c86dea4ffc2eff8a013c82fb19e02af3a5412"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx: 528 lines of code: desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx has 528 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f29b93b3330a8370b38fce819a9c68f592f5c65c7a871ec8c2674174aba3f2"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/main/themes.ts: 516 lines of code: desktop/src/main/themes.ts has 516 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/themes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"856a022fe7cfc9e66d53f053ff95b15cd2cd97117f631b2ec3beb909ff473799"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/renderer/src/pages/skills/McpEditorModal.tsx: 493 lines of code: desktop/src/renderer/src/pages/skills/McpEditorModal.tsx has 493 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/skills/McpEditorModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6302fa1846258d76ac0a7023013da6480f9db569f2ae8723889fcfed0e5390"}},{"ruleId":"R3","level":"warning","message":{"text":"channel/web/static/js/views/tasks.js: 492 lines of code: channel/web/static/js/views/tasks.js 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":"channel/web/static/js/views/tasks.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3791001e114a21f481a114c0cf5cd8a5f4623deffce4f4ac1a2c74b6e8fecf"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/renderer/src/layout/NavRail.tsx: 463 lines of code: desktop/src/renderer/src/layout/NavRail.tsx has 463 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/layout/NavRail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f6cf9a65f49f8d511fc491d28ba98a32df0444763f7395080f38768b9834fd"}},{"ruleId":"R3","level":"warning","message":{"text":"channel/web/static/js/views/menu-editor.js: 453 lines of code: channel/web/static/js/views/menu-editor.js 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":"channel/web/static/js/views/menu-editor.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0abe5c574ecee93ddba9d311a398c9ad680e5faa8f56a89d8f41edd5692ab4"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/renderer/src/components/KnowledgeGraph.tsx: 446 lines of code: desktop/src/renderer/src/components/KnowledgeGraph.tsx has 446 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/KnowledgeGraph.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a90eacf0a78b79d57f950d3e3051ef3ab287dc9d17043617ac04263a15ba40"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/renderer/src/pages/settings/ModelCatalogEditor.tsx: 446 lines of code: desktop/src/renderer/src/pages/settings/ModelCatalogEditor.tsx has 446 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/ModelCatalogEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eaf982f1790f70787da75ef511aa95730b89e2f4f3d1f3d705eb116ce5a7384"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/renderer/src/store/workspaceStore.ts: 429 lines of code: desktop/src/renderer/src/store/workspaceStore.ts has 429 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/workspaceStore.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5cde862b5bbf9486a97829ce0ce44f8cc0077096397a1b3fc04c4fd49b5fce"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/renderer/src/theme/themes.ts: 423 lines of code: desktop/src/renderer/src/theme/themes.ts 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":"desktop/src/renderer/src/theme/themes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad195951f0906e69622062d9ed7707508ec8bb2f081da1d53f1854a833828a1"}},{"ruleId":"R3","level":"warning","message":{"text":"desktop/src/renderer/src/pages/ArtifactsPage.tsx: 417 lines of code: desktop/src/renderer/src/pages/ArtifactsPage.tsx has 417 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/ArtifactsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65fe0b371130e8b842135f2a34494a1e003efc34d8a22ac512ef46abc4ac0b57"}},{"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":"channel/web/static/js/views/models.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ace7495fd9ecc772ad5a15d005b2dd3fa36f3e0d35048cd0c4e6ae125d3018"}},{"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":"desktop/src/renderer/src/pages/KnowledgePage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6437065ad8ddd0dee303dff65007b3e7a45102d51ec5fc984357bdad200a9a2f"}},{"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":"channel/web/static/js/views/agents.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86963c0157a32af0bd4ef6e12b1bc223b849117a346742a7f419dfb3cd98c2bd"}},{"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":"channel/web/static/guest/guest.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5f342207ed74bf95da82f1e06ad3b3de9c6caae8d927762fd8f8744b796457"}},{"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":"desktop/src/renderer/src/pages/settings/ModelsTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d81aac2bc7665831ae58dfd9ec95a9eb13403342e094a128cdb8348a5551286"}},{"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":"channel/web/static/js/views/shares.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59953852d0157fa171a5f47962b25ede1eb19cdc795ab27804ce5413492a986"}},{"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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f002b1f58a95a634d15c490feb1f5adc0f14ee8e64fb4ea814a895811353196c"}},{"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":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c9a19a6a9afaa3edaa0ac6380b147f411bcd131b71eea3c51462a228af9356"}},{"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":"desktop/src/main/python-manager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d163823e1e5525c4d07e11278f63f6493a05503091023feb658ab32901688123"}},{"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":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb75d0fbcb2ba14376530beeb320132fbe3177003332ec89e26cad35c599b0e"}},{"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":"desktop/src/renderer/src/pages/SkillsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd12d905ba093ab366ffad155b338dc5127468eac2888fe524d8678b8924dc88"}},{"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":"desktop/src/renderer/src/components/ChatInput.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9b4f3fedd0df391764337e0da61949e12ca084a41d3bb6fb826a8e076c3446"}},{"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":"desktop/src/main/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7341241ef3907b0bd20c34e411369baf6547621aa58e2fd12e171edcb4be292b"}},{"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":"channel/web/static/js/views/sessions.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa6ca0dfaaf270c2835f227cc0e9e6e8915216b4ff3a8fa0ee7eb8b33aa34e5"}},{"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":"desktop/src/renderer/src/pages/ChannelsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd0216580ad01ac5ddfd22b79cfacaa44dbadf5a9bd14fad4d7a9b5a3b75c43"}},{"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":"channel/web/static/js/views/config.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fcfbf8f8149a634102d22ece62d437e78d6720e404f54c5bc9986e58865c4ac"}},{"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":"desktop/src/renderer/src/components/MenuEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"288fac62dfd03e7bb764ee1d1137f647b03abf04e0a0342dab693ea4aec2da59"}},{"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":"channel/web/static/js/views/tasks-modal.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a148a0be3a5d3ab7dd8da05d69502f1abdb1c264e62d285145aada6932a4c6"}},{"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":"desktop/src/renderer/src/layout/SessionList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81475b71c8c1344b07d47b1b93f35b5d9300ef0a482e101986800b3e65ddb664"}},{"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":"desktop/src/renderer/src/pages/skills/SkillAddModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f44caa9f600b2a25b064581028a8bd929e38a222c1e2587931827dfd7f3154"}},{"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":"channel/web/static/js/core/themes.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"876e903cafc669c4e991d7e36e7e49a4464c63c9b1ce20a78ac7b8cd1474ea88"}},{"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":"channel/web/static/js/views/channels.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"921c278d3d8d941e8d1272aa925b33cb89015dd58570c2c3ec5dfc3616cdedc3"}},{"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":"desktop/src/renderer/src/pages/ChatPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f2fcd1faa17437eef4025fc890c32f597c2ad1e96daf250269389ee16d22d7"}},{"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":"desktop/src/main/app-icon.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9822f217668401ea9bbe21e433bd78d5443456e78704031688e894b41988e2"}},{"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":"channel/web/static/js/core/markdown.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac91bcc35866d89776e892668aceba0e82aababe993390391215c655cf3db414"}},{"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":"desktop/src/main/themes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c202f9042846a9946a084723279b1a6b9a61d9c27113d07dab516bffdfb6364"}},{"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":"desktop/src/renderer/src/pages/settings/shares/ShareEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce2257c58f404addc08061c90d6ea6b790e6427a00c55fcc5416c01ce96b334"}},{"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":"channel/web/static/js/views/tasks.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc80861134e90680ece7c3fd97bbbece72ec210efeab498518934cd6cf74c99"}},{"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":"desktop/src/renderer/src/pages/skills/McpEditorModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e83485565e3d8fab9677029cab868a4e1b32dfa8640fc69248db277f9c06384"}},{"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":"desktop/src/renderer/src/layout/NavRail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e65eeef3c09701c73b2b2237e8b0442881eb66664c2e7d4d9809e3a3d1d6e9"}},{"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":"channel/web/static/js/views/menu-editor.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef6dbfaaf8104455c55e41a6483bb3f6cd26d02019f269cc2beb7e36afb3428"}},{"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":"desktop/src/renderer/src/components/KnowledgeGraph.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14e882924ea5f68c8b00864cd4d8bf36eea0b9c367f7e4355a0eaea743bb6b4"}},{"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":"desktop/src/renderer/src/pages/settings/ModelCatalogEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec33d83d445d5eaf6eadfb2f1f0db51d0a035b69beb0553b01c787ca98a0d48"}},{"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":"desktop/src/renderer/src/theme/themes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3961f3bda6d83e81f43c06ebe6db92136265c467a3dae7d9f4d9cf547cb681"}},{"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":"desktop/src/renderer/src/pages/ArtifactsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec3102abd7916a8bb00f26d3c601a69ece9d5bd4ba67d0566b2e17faa5b2100"}},{"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":"channel/web/static/js/chat/context-usage.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f6e26fdc4044ead0874a45a21b9d77f97b6c753d90641b5aa5c392438903e0"}},{"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":"desktop/src/renderer/src/pages/settings/shares/GuestSharesCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6989930e91c09d02f7757287a657f9077133081c8cf7eda43f5157ba6fda2136"}},{"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":"desktop/src/renderer/src/store/artifactStore.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"795e47e97c36d02330a50f35d2d996b8f98c9e7d4286479f3d6bb353e97454e4"}},{"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":"channel/web/static/js/chat/composer-input.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"343947a1bf4c97e1a6bd6eb8dbf0f8558b8bf77f9467fa72466a77b98438bc75"}},{"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":"desktop/src/renderer/src/components/ContextUsagePopover.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aea57eb5c4662d08dc7ede5de8ab4989d20bf336e51c5356f0639d3573f8879"}},{"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":"desktop/src/main/updater.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae73ea18be8d65c98f564893c3b2ec28c9ef38d4f12ec2a16bc86be5dbbbd713"}},{"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":"desktop/src/renderer/src/components/ChatTimeline.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc170394f4a8db36bb8d4cc76b68da8177f2d4cc892bd1e439620a66ddb73621"}},{"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":"desktop/src/renderer/src/hooks/useTheme.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b1d765dd6d0a47e965906c36db744ebfecc6715c039bc05371ad12a357236c"}},{"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":"desktop/src/renderer/src/pages/MemoryPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5d4e9d941b4b1697e1db47c1798281f01a090ff21f5afbf747a99d483851b4"}},{"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":"desktop/src/renderer/src/pages/settings/ChatFallbackCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"517042bf300ad662cac288440c0709de838b213d4cd142a81cef4b206e472ad6"}},{"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":"desktop/src/renderer/src/components/MessageBubble.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4850da877dfff5924bdc939d34c2f95e4982d2880249fe78e4e5a5f4285434"}},{"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":"desktop/src/renderer/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d331a28d60edd6f4adab3e765feea894d42e02f2f3c3e01be2af09700bfe1e"}},{"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":"channel/web/static/js/views/channels-weixin.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d78f9eefb961373b46b6e5f093e10ca58b5e1a6c417dc80306f35c63a9010e"}},{"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":"channel/web/static/js/core/notify.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b65b26fc1d81fa06044cf5d75d2ba9a7d67286ba588f4b55cec712aa052d20"}},{"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":"desktop/src/renderer/src/store/docEditorStore.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b178dac0a6cb00296faddd32ed95b52afcea7e27370ab8dc2f453a1b93cc2e"}},{"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":"channel/web/static/js/doc-editor.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fbc1ed7c8f8a45585af69a589cc8faf326bb2fcd53a4ee25aa148c672f9390"}},{"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":"desktop/src/renderer/src/components/QrScanPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17450391337060b0d9ac8c09d7ff5d4be71d1dacb7497eee6764d6999995f008"}},{"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":"channel/web/static/js/chat/session-settings.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"831b02b79a1d2bf440e06d7491aeb41113a4859ad52cc0d156dd4e02f6c108f7"}},{"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":"channel/web/static/js/chat/timeline.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42c1329aeecdaba52c4ca8b62c17aa4f524ceed0d92981de3bd5ab45a78b169"}},{"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":"channel/web/static/js/chat/workspace-selector.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e99b6a997f0ee588d9b4986286ddf361d5d8e07a3a807dee161b37720309831"}},{"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":"desktop/src/renderer/src/components/OnboardingWizard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"406af5aefd0458712d009b801cf0cf1e228e24153ed65a8a57e21c909847f380"}},{"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":"channel/web/static/js/core/menu.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae817f82cbe4d7a5827eda58a016ec5717d67f346e00a60684cc1a8a5db48503"}},{"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":"desktop/src/renderer/src/components/DocEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c951b642c50c05cf6e1b4c11ec24697132c2509214999bedf9773463ba2d8e"}},{"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":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"deab013ebee607c8bc5e907abf164fa0dab1ac90c4b54ab378490f2a5723ae41"}},{"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":"desktop/src/renderer/src/pages/artifacts/ArtifactPreview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d8bd4e1bb4b885eb5f7afa4a0edb2cb411e04be4585cc49479d5c174784d35"}},{"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":"desktop/src/renderer/src/pages/settings/shares/ShareDialogs.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb269bafd8c75ec2db06a08bb50a8343e08924bc8d27bb9b591614d1d578d49"}},{"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":"channel/web/static/js/core/version.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ebf0c8e921cc31d7d82225ca851539e8273ee2b4d7ee45181db48e5d4a6d8b4"}},{"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":"desktop/src/renderer/src/components/WorkspacePanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5945d3d716fed7dd4cc554889132a1cac5fb42519944d1320ae3dc62622817"}},{"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":"desktop/src/renderer/src/components/WorkspaceSelector.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07bc08e08e83a074e4b58040e79d0477d641fb6b09f88a7a32cb7a309917031"}},{"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":"desktop/src/renderer/src/pages/settings/IntegrationsTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"084f77bf795e9268155b002fa4f1f5ef678aa04418fa272834a1c3efdc6a9c97"}},{"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":"desktop/src/renderer/src/hooks/useBackend.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c8aff825e2fea85efd11ef2d55db7b0920018171ac7b77e4363a85b63784a2"}},{"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":"channel/web/tools/check-load-order.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15406a3842cc6d614121849aca7be64e58c8dd59e046316b6706f4819f2b3bad"}},{"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":"channel/web/static/js/core/nav.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"204442bfcea2b0a845350381f1fb4c7efc9618acc17d411e237105c2aebf741b"}},{"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":"desktop/src/renderer/src/pages/settings/CapabilityCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb79137e2409f008fe787d2b2985c9705b4d8181f9c010d309cc7839ddc8465"}},{"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":"channel/web/static/js/chat/new-chat.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4677293025830732f7b8810c7eb7dca67b5e13a3b821f3ef261954a718edc2b9"}},{"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":"channel/web/static/js/views/channels-wecom.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3224970f28a58ae6301f1b40c53abf27b1b410cebb7ff739638078668dce7a"}},{"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":"channel/web/tools/check-router.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfedcae6f13422516305b423cf342bd571fff4e674b4b6e6b44cebd5b317697c"}},{"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":"desktop/src/renderer/src/components/NewChatMenu.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebbc0d7bb15dd547da87026ced696a482d151f99b0ad87dbbb21ae755baeabf3"}},{"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":"desktop/src/renderer/src/pages/artifacts/ArtifactCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa8789827349b61271bfb879968646b2600946f284ed2238993e39792042fa8"}},{"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":"desktop/src/renderer/src/lib/menu.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"446538a743db29adfb13fed24708c9f4c36437ef88d907da66bb7cfa45b669d9"}},{"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":"desktop/src/renderer/src/pages/settings/ChatApiCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c8551174815b98f989493e19b6a43845c39481af4619e82fea0798a8b1cf68"}},{"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":"desktop/src/renderer/src/components/ThemeAddModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6865e94aeef1e6f52bbf3b62120d7c3c33ce3a8968fe165a1d0ba374aa906f2"}},{"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":"desktop/src/renderer/src/components/FileTree.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27819a024c7eaddb095ea6e23fbacd61c985da86ea23ff2249af5957929290e4"}},{"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":"channel/web/static/js/core/router.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3944ca16e242e16efe6e495778e6950da41b63d0bce3a8d812180865ce0f491a"}},{"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":"channel/web/static/js/core/auth.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5566a4435a4cf3f202d694e5007ff1f74d1b4af93f78dda8c807a9a5ac915b3"}},{"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":"channel/web/static/js/chat/message-actions.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c47904b366ffcb4b6b7a6d2e0eb857d693b5a096e901ed333748ddfa92b3ead"}},{"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":"channel/web/static/js/views/models-custom-provider.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7111344c2f6cae0f296cdf8ed9c19ce17b722380080837828c43b79ef88e4357"}},{"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":"desktop/src/renderer/src/components/FilePreview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1059c8cdac5c7a8a41f834d85b87b5520c15f6bdb549051e5dfbacc16beba0cc"}},{"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":"desktop/src/renderer/src/components/AgentSelector.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e649c4b1f06425b4b15962e0da0595f6c43bc16a5276efd11309ff7b58fba0f"}},{"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":"desktop/src/renderer/src/components/ChannelTeamSelect.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"505ce669e1b9c6c436c26d83be5097491b8a93cb7d4593a25aa7c563d41a2912"}},{"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":"desktop/src/renderer/src/components/UpdateBanner.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eaff83e095a3182f45a37455c6077e1921d6e722feeca2b261dd458e2f552a7"}},{"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":"desktop/src/main/preload.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd483ef404eab66aea3bc26ef9117ab350521b0ec451a81467638f53411965d0"}},{"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":"desktop/src/renderer/src/components/ContextUsageDonut.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd605d85cf13aee59a1f44791f966cebce583e024d40daab67c329a0e66524d"}},{"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":"desktop/src/renderer/src/components/ModelSelector.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"261a4b2944ed7c11316c20a84b44268b2e41f8f165650cfdb4eaa5058575ec14"}},{"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":"desktop/src/renderer/src/pages/LogsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18f039cd208a5432af7659edb7f509ea69140d83abb893bdd4a147b80d4d0e9"}},{"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":"desktop/src/renderer/src/store/updateStore.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b991d2a777708d314b768e57dfeced50abab26e34fa37d3088ad6bcfed86a296"}},{"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":"desktop/src/renderer/src/components/StatusScreen.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4488869ebb9951190a1275bf1499f8d75370a198c8214027d7711a915f4d9d74"}},{"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":"desktop/src/renderer/src/pages/CustomPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d83fbcefcf3e91a814a65a8f019754153c1fe443bc29fb6cd07365adebc76ff"}},{"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":"channel/web/static/guest/embed.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed32d114b360dd3922b3648ceb0312bd5558eff0253a59ed409b5db32be7d8b0"}},{"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":"desktop/electron-builder.win.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74142a9e66ec363e0c52f2754da7addb530ce9af1cd13854662e223313da2ca6"}},{"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":"desktop/src/main/menu.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b42806f97c26744eed2db1e8891ebbf42281f952df3e44e402b87edc42e513"}},{"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":"desktop/src/main/http-relay.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"926e8f8b6052157798760b1b3ace450bf848676e64dfb95d66d0925f8c4045f7"}},{"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":"desktop/src/renderer/src/components/FileCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67cbd4048eeeb3137352b92d221b5b0647c7a117b70e069b42b39b17411a902"}},{"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":"desktop/src/renderer/src/components/AgentScopeSelect.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7e8979c648da3d8fbb3e7c583e3fcfe7f80efd7ffb818858e3c51027f2af04"}},{"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":"desktop/src/renderer/src/components/PermissionSelector.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"128a917da082537bc46f6193d8e66546fcf0c291be4dcd09bbc292e7440bbacc"}},{"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":"channel/web/static/js/views/doc-viewers.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1c34483fb6b049d6086a3827150215482f20042315ca253517f048c0f529b9"}},{"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":"desktop/src/renderer/src/hooks/useSchedulerNotifyPoll.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d131dacf0a9a07371413de33ac4a5100e7112a50b91334115f2466c356b4e6"}},{"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":"desktop/src/renderer/src/pages/skills/mcpConfig.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c216abb9dae362e277889b9caad01e9942c2a268e95cf6435ad9af1e1c3730"}},{"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":"channel/web/static/js/chat/scheduler-notify.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5780b34f95625a7e592f919fbb470fe01c4a206401611b46d162116c48959939"}},{"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":"desktop/src/renderer/src/components/FileEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e33c705849253495703cac22f9ce34ef8a008b1b4afc6ed444ad5682f7f859"}},{"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":"desktop/src/renderer/src/components/Tooltip.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a74a8068d87a2db94906fb68414e218ea795f9f8b5339944b5f9bca57b9b00d"}},{"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":"desktop/src/renderer/src/pages/SettingsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"853063641a757a5b81b4f730354695c2c4274edc51f2e4a906c5a17d5f785028"}},{"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":"desktop/electron-builder.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3247e58666d301a6190f06b36d7078648db525ec40b105ca919449806092472"}},{"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":"channel/web/static/js/views/logs.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d24e7fa95afbf9b4fa8059ebf8dc364bfd3a21ccf5e1bb58480673fadb243b"}},{"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":"channel/web/static/js/views/memory.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab8ac59693b292797b20a8ac8076c662187263f57b0cf88ea544c57d760794f"}},{"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":"desktop/src/renderer/src/components/MentionText.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d350074d58e336882f1be4bffa99cb7e4384ad8cad73f2fdacce1bd7f11ebbc3"}},{"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":"desktop/src/renderer/src/components/ComposerChip.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e92da8a8846d774485344e8211c55ec106e67eae78dc967bdbf78991c2abf3"}},{"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":"desktop/src/renderer/src/pages/skills/frontmatter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e112a19e7bea37b8f55a2f764376adba043934cccf44349611d1ecbdccb7bca0"}},{"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":"desktop/src/renderer/src/store/menuStore.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"956e392084c189f1659f857e433af4e7c7dcbd99fd0c3d3a00714436fc0881a7"}},{"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":"desktop/src/renderer/src/hooks/usePushPoll.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7113cfb9c20b0aa2d157c67189ba025e7b149a53c74798dcc8e7a07cc67cf227"}},{"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":"desktop/src/renderer/src/components/LoginGate.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61baf449ba61ac7f7619bc835a24792a316d1649e82222adc2a6258c7e0fadbd"}},{"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":"desktop/src/renderer/src/components/ApiBasePresets.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"665eb667548df155dac074f50fddd0bfa65f4e7ba7f3f6d35d511cb64fd0665b"}},{"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":"desktop/src/renderer/src/components/ThemePicker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ff6b4aa03e86041882a07ff2525d8c9b6cedebc8e4db6ce95a193693de99c0"}},{"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":"desktop/scripts/apply-flavor.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4175d1fe78bdc15a2d661ca90f5fd4e6d9bed0558c9c56560ef1013ae7b3098e"}},{"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":"desktop/src/main/tray.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"725ac27848761d2a653a8a6383f4fdcb19e5455e1cb273f44efa69f54295a60a"}},{"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":"channel/web/static/js/core/confirm.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3a2cc337a1db2146a3a3681a08f4e5980025766e9896ce011ebd54e33b058b"}},{"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":"desktop/src/renderer/src/pages/artifacts/format.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be3b442258e50a2d7254f5165010506874cc79e42c4973c3674478bc2bda6fb"}},{"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":"desktop/src/renderer/src/pages/settings/modelsHelpers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"724d7af77ee443750f2862c9f8ee0d1e0cd1f854b5206d0401e291867a3d4854"}},{"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":"channel/web/static/js/boot.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80762910805b7790f87431eade63459b9a52b4ffcf5a90302c585602ab65a33"}},{"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":"desktop/src/renderer/src/components/ConfirmDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"079fc4cffc9e6a7f339ef389de721a2747ffe75312e644489ab0983caa837364"}},{"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":"desktop/src/renderer/src/lib/newChat.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cca8facc49818102a4218018bb21e383507c7d04edbad28c283b8232149418c"}},{"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":"desktop/src/renderer/src/pages/settings/shares/shareCommon.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d63194c35afaa3cfd054369a41eacdf82ab5bdef93ca36b3b18f9764f5426e3"}},{"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":"desktop/src/renderer/src/layout/WindowControls.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd02b545c7706ca65ffa692343f955bf7f667e5084cef447a6dd4c6fab4e32b"}},{"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":"desktop/src/renderer/src/store/onboardingStore.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c127785c22e229a1be4549b3fefa05beedf0cf9b53806996f20b8d087f1ae3a"}},{"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":"desktop/src/renderer/src/pages/skills/SegTabs.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a522e8e430fb361e190608341efbd5577f2215b8c085c38ae2b7824ea0040d"}},{"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":"desktop/src/renderer/src/lib/chatScroll.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d76de4b798d2893ebdb657008363e4d36ccfa3230206048dead2efb403a692"}},{"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":"desktop/src/renderer/src/hooks/usePlatform.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40211f35e0bf416a460dc2d5776c5833c61444c8e3ef0fbef07b3da14fb907d6"}},{"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":"desktop/src/renderer/src/store/timelineStore.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"980accfbb6c638868c9316ea264cbac79d3bb7bdf127832890df0a7684a4682d"}},{"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":"desktop/src/renderer/src/store/draftStore.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26cd24cc3508e628bc5b9791d176476bbf0208ea377ac569d62577a5a81e65ea"}},{"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":"desktop/src/renderer/src/pages/PlaceholderPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0ffbab490d420ef297e521fc00e4bf12217ad61f5717bc66f19d7362e1471d"}},{"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":"desktop/src/renderer/src/main.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae65e92defc96e47c356c1e8a5045611d0909f77270805894fd1600f5777e56"}},{"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":"desktop/src/renderer/src/components/icons.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50456f0306ba18d47336b90bc6ecb5a8a8f7cf10fb780c7a2c1d1701ac23a780"}},{"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":"desktop/src/renderer/src/pages/skills/skillLabel.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b94cf6aa1da53636ea71d9591015ceae87f29c7c32a754507c244c15c9e4215"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~153 LoC): no import path from any entry point (52 application, 5 tooling, 3 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":"desktop/src/main/preload.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"366a43fbf38139df8ba02d30ef3f7cbbfc123ee019b5948f56e47dfdbf6b458f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~132 LoC): no import path from any entry point (52 application, 5 tooling, 3 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":"desktop/electron-builder.win.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d59886990589a6675162c4bc8b00e9743351e117690614b0d8957cb97d459d1"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~88 LoC): no import path from any entry point (52 application, 5 tooling, 3 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":"desktop/electron-builder.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb8b964fc1e24d715c625488be4b067d2206504cea9ce7432620b5142a9a0f8"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~20 LoC): no import path from any entry point (52 application, 5 tooling, 3 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":"desktop/src/renderer/src/pages/PlaceholderPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e093003e3692a9521789c81b2f5cf3f1ac64a02d67f2ddc92ed4df1ce9f5e4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/ChatFallbackCard.tsx"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd42a8df41524e10648b044c48d141594eff642014f725e3f46c2d9d12fea652"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/ModelCatalogEditor.tsx"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"f465b6999c889e126bd4f9551d09289cc8eed36927fef8b520491bbeae1ec986"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027useEnabledAgents\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/agentStore.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae187fa391f4651b67c63474a03f30c95496a1ce7263bcfb862fb53aae35892"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027THEME_SPEC_VERSION\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/theme/themes.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91e72deff2cb33ddcc9e4c75feebaebed6fa6847c79d977d0f7b08349bfb76d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027AgentAction\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/types.ts"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef834d852ae2913080c0e416ba411b7e00c4bb70c35ddb5f4a3f27c930007813"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027LogEvent\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/types.ts"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"97835a03ef276cfa76cc09363228aab054dc269a5c6583c47a775d27710bfdc6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private method \u0027findBundledBackend\u0027: Nothing in its class calls or references this private method \u2014 no member access, no string key, no decorator, and no test reaches it by name. A private member cannot be called from outside its class, so this is the whole search: remove it, or call it where it was meant to be used."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/python-manager.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa0ab11455b03d69c7f9424804040cbef16877b6c1bbcd241692804cad93281"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027esbuild\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/tests/chat-scroll.test.mjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f8cbdf7e7eb4443ac1e5266a02781dd1cb9f3f3659cfea6c71e7bec527f4d4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!!v \u0026\u0026 typeof v === \u0027object\u0027 \u0026\u0026 !Array.isArray(v)\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/core/themes.js, desktop/src/renderer/src/theme/themes.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":"channel/web/static/js/core/themes.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"602dd50ab3a9d2ad2bf901528c84a9abea328cd08029936b176b198c0f045f75"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!cfg || typeof cfg !== \u0027object\u0027 || Array.isArray(cfg)\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/views/skills.js, desktop/src/renderer/src/pages/skills/mcpConfig.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":"channel/web/static/js/views/skills.js"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1941bb69c3314a60e6ffc7e6b151681b2ca9e355c3ad5918412cf9a237a88b9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!group.title \u0026\u0026 !MENU_GROUP_LABELS[group.id]\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/views/menu-editor.js, desktop/src/renderer/src/components/MenuEditor.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":"channel/web/static/js/views/menu-editor.js"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"023a6b510329ecd052ed110c6f31d3e9163fed866f6a2ffc2fe2c7c60ea60eab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isUser \u0026\u0026 rec.status \u0026\u0026 rec.status !== \u0027done\u0027 \u0026\u0026 rec.status !== \u0027success\u0027\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/views/shares.js, desktop/src/renderer/src/pages/settings/shares/ShareDialogs.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":"channel/web/static/js/views/shares.js"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c26440b501111c9e3ae74e69c6b21d34f710d5c29412717c7102b7964b9699"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!menu || menu.classList.contains(\u0027hidden\u0027)\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/chat/session-settings.js, channel/web/static/js/chat/workspace-selector.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":"channel/web/static/js/chat/session-settings.js"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b5de5ec356b8f3aefe8890f0897f5238bcdf0080bc8359c77839f643b14c00"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!navigator.mediaDevices || !navigator.mediaDevices.getUserMedia || typeof window.MediaRecorder === \u0027undefined\u0027\u0060 appears character-identically in 2 files \u2014 channel/web/static/guest/guest.js, channel/web/static/js/chat/state.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":"channel/web/static/guest/guest.js"},"region":{"startLine":1245}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa08f11d4f1456debd3c7c0e2e43c9bf029a8c9b945b0804818cac88338b08c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!part.startsWith(\u0027.\u0027) \u0026\u0026 !noise.includes(part)\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/views/skills.js, desktop/src/renderer/src/pages/skills/SkillCreateForm.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":"channel/web/static/js/views/skills.js"},"region":{"startLine":1858}}}],"partialFingerprints":{"codehealthFindingId/v1":"b675ee02868042e5fbbdb45083b1be25885422f8340a784bdf7132a1c601478f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!pendingConfirm \u0026\u0026 el \u0026\u0026 document.activeElement !== el\u0060 appears character-identically in 2 files \u2014 desktop/src/renderer/src/components/DocEditor.tsx, desktop/src/renderer/src/components/FileEditor.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":"desktop/src/renderer/src/components/DocEditor.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"42618ac1ef00d80de99983956cfdf9d6b5f72dada3a5d20fdc43de7ee18ada01"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!preset || JSON.stringify(preset) !== JSON.stringify(e)\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/views/models.js, desktop/src/renderer/src/pages/settings/ModelCatalogEditor.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":"channel/web/static/js/views/models.js"},"region":{"startLine":2792}}}],"partialFingerprints":{"codehealthFindingId/v1":"0625687ec4ea9490fb62516460af96948598ceb579dd2d1fa177572ba9414a95"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!saved || !Array.isArray(saved.groups) || !saved.groups.length\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/core/menu.js, desktop/src/renderer/src/lib/menu.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":"channel/web/static/js/core/menu.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbda1c367c1d75c617364dbb6d90f49b42b161572b9c37cccfcce0f816e82a9f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!textTok || textTok.type !== \u0027text\u0027 || !close || close.type !== \u0027link_close\u0027\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/core/markdown.js, desktop/src/renderer/src/components/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":"channel/web/static/js/core/markdown.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b8af8b47d23778cba388c4a31ebc2a2079688345f62fba4a21fd02c7e112c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(b.pinned_at || 0) - (a.pinned_at || 0) || b.updated_at - a.updated_at || b.id - a.id\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/views/artifacts.js, desktop/src/renderer/src/store/artifactStore.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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a1ee7212f998bbaf418dfedfc23185efc8f7408cc302c20fd9a5558d26ead8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(e.ctrlKey || e.metaKey) \u0026\u0026 e.key.toLowerCase() === \u0027s\u0027\u0060 appears character-identically in 4 files \u2014 channel/web/static/js/doc-editor.js, channel/web/static/js/workspace.js, desktop/src/renderer/src/components/DocEditor.tsx, desktop/src/renderer/src/components/FileEditor.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":"channel/web/static/js/doc-editor.js"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b53c8f83ba274c63688692af626ee08d9bf6f268fe6fec411619dd6b701fd0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(item \u0026\u0026 (item.title || item.file_name)) || \u0027\u0027\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/views/artifacts.js, desktop/src/renderer/src/store/artifactStore.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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f20757e3c54766de54436b096ce3f5ead46802266c6acb7ea5a84185bee5a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(peer || sharedConversation()) \u0026\u0026 speaker\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/chat/render.js, channel/web/static/js/chat/send.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":"channel/web/static/js/chat/render.js"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03ef16ebd6de34350ec22b3138eb26407f0a82ef153c2fc64f2c0a2ab4fc1f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(pwd.length \u003E= 10 \u0026\u0026 kinds \u003E= 3) || (pwd.length \u003E= 14 \u0026\u0026 kinds \u003E= 2)\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/views/config.js, desktop/src/renderer/src/lib/passwordStrength.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":"channel/web/static/js/views/config.js"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6987a379e3ce1e9d835dd1f6fd5509f811935b7a325d2d1bd009cd10e26b1e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_touchScrollStartY === null || currentY === undefined\u0060 appears character-identically in 2 files \u2014 channel/web/static/guest/guest.js, channel/web/static/js/chat/state.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":"channel/web/static/guest/guest.js"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c3e59d3e4b70096db9c01218fb1c3de9c5fcba17c26c5f911cbf4a18438ec1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060action.content || action.task_description || \u0027\u0027\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/views/tasks-modal.js, channel/web/static/js/views/tasks.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":"channel/web/static/js/views/tasks-modal.js"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ef72e1e0ed4b064540d7744417cd30e1c0414640ec01dce744361127f82c35"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060confirmOverlay \u0026\u0026 !confirmOverlay.classList.contains(\u0027hidden\u0027)\u0060 appears character-identically in 3 files \u2014 channel/web/static/js/views/artifacts.js, channel/web/static/js/views/menu-editor.js, channel/web/static/js/views/shares.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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c6c92a8cdfa0f87b8e8bd060f7d3197cde1d1857a68a8d80181f8806ce2715"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data.message || t(\u0027session_settings_failed\u0027)\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/chat/session-settings.js, channel/web/static/js/views/sessions.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":"channel/web/static/js/chat/session-settings.js"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a71194cd74526b53f79cfa8ffd49ed7df0dd5c5e9e80b218a2458d14d834a8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.key !== \u0027ArrowLeft\u0027 \u0026\u0026 e.key !== \u0027ArrowRight\u0027\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/views/artifacts.js, desktop/src/renderer/src/pages/ArtifactsPage.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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"46653ccb54dce3c3c724134314a476d71f361c931b595ebbbdf3168b805d8e62"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.target === messagesDiv \u0026\u0026 event.clientX \u003E= rect.right - 16\u0060 appears character-identically in 2 files \u2014 channel/web/static/guest/guest.js, channel/web/static/js/chat/state.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":"channel/web/static/guest/guest.js"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a43958ca9cebb4f9459a0f977698cb9cd9cfd6c3954d3a7127374fc88b9da4f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f.path.split(/[\\\\/]/).filter(Boolean).pop() || f.path\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/chat/render.js, desktop/src/renderer/src/lib/fileKind.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":"channel/web/static/js/chat/render.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0dd06f8782a0146bf1092bf68d3201ca8aa3ec87de8e1c25ab604030b1b58eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f.type === \u0027workspace_dir\u0027 || f.type === \u0027directory\u0027\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/chat/render.js, desktop/src/renderer/src/lib/fileKind.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":"channel/web/static/js/chat/render.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"842ad9a32ea30c4de3b6fb2faa12670266b87bbe5f18a94ae61cf4796ae12e30"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060frame \u0026\u0026 e.source === frame.contentWindow \u0026\u0026 e.data \u0026\u0026 e.data.type === \u0027cow-guest:close\u0027\u0060 appears character-identically in 2 files \u2014 channel/web/static/guest/embed.js, channel/web/static/js/views/shares.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":"channel/web/static/guest/embed.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8220c1315bd1fa5a2730294b471841e5507de96bde563481a7af42b14c7270b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060href.startsWith(\u0027//\u0027) || href.startsWith(\u0027#\u0027) || href.startsWith(\u0027/\u0027)\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/workspace.js, desktop/src/renderer/src/lib/fileKind.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":"channel/web/static/js/workspace.js"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"6674469bd9fb92faeeaa0f77b0a8eed5c2f638cf35c5bf425675965199aaccfd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060i.type === \u0027artifact\u0027 \u0026\u0026 i.path === item.abs_path\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/views/artifacts.js, desktop/src/renderer/src/pages/artifacts/ArtifactPreview.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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"e866113ac75fc3a6d394b3c8e4dde6e5caab46eb1ea3d2f70a1897a8c7771b00"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060i.type === \u0027builtin\u0027 \u0026\u0026 i.view \u0026\u0026 present.add(i.view)\u0060 appears character-identically in 2 files \u2014 desktop/src/renderer/src/components/MenuEditor.tsx, desktop/src/renderer/src/lib/menu.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":"desktop/src/renderer/src/components/MenuEditor.tsx"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc0b63f554ae7f8a7e9785aecaedfc982b1b43550e7af4f0ce181d2a3c80e55"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060id.startsWith(\u0027custom:\u0027) || id === \u0027custom\u0027\u0060 appears character-identically in 2 files \u2014 desktop/src/renderer/src/pages/settings/BasicSettings.tsx, desktop/src/renderer/src/pages/settings/ModelsTab.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":"desktop/src/renderer/src/pages/settings/BasicSettings.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d206f148ce158cce1caf1c24314527761555476b673b5d62a8944d3c8d67a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060idField \u0026\u0026 idField.value \u0026\u0026 secretField \u0026\u0026 secretField.value\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/views/channels-feishu.js, channel/web/static/js/views/channels-wecom.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":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d11d27f2aae3ae68108fc22701ca5e692f7d3bcdca057c1d64124f9602607e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060instData \u0026\u0026 instData.status === \u0027success\u0027\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/views/tasks-modal.js, channel/web/static/js/views/tasks.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":"channel/web/static/js/views/tasks-modal.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"6351dec06ea56dabe4213123a49741e7798a3f74c0b11131a3713e921cd9fb8d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060intent === \u0027down\u0027 \u0026\u0026 distFromBottom \u003C= _SCROLL_THRESHOLD\u0060 appears character-identically in 2 files \u2014 channel/web/static/guest/guest.js, channel/web/static/js/chat/state.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":"channel/web/static/guest/guest.js"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf79798fcb3705c37dc68bb79ae7520708f9007eaf08604a324a4fc21fffe3a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.has_tool_calls \u0026\u0026 accumulatedText.trim()\u0060 appears character-identically in 2 files \u2014 channel/web/static/guest/guest.js, channel/web/static/js/chat/send.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":"channel/web/static/guest/guest.js"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc847f43d33dd5b977d2f28db84df49c633211b3b195fe923bb786a9edf11a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.kind === \u0027html\u0027 \u0026\u0026 item.preview_url\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/views/artifacts.js, desktop/src/renderer/src/pages/artifacts/ArtifactCard.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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1f4134d7f0336dbb460258f83161043a94a77248f8a73c7f3fe28de399d1bc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.session_title || t(\u0027artifacts_untitled\u0027)\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/views/artifacts.js, desktop/src/renderer/src/pages/artifacts/ArtifactPreview.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":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"1497450a7569d57a63e72ff8d9f9bdf2dfd3d96b3881c2c47fa6e852fa829812"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.type === \u0027url\u0027 \u0026\u0026 item.open === \u0027tab\u0027\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/core/menu.js, desktop/src/renderer/src/layout/NavRail.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":"channel/web/static/js/core/menu.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6130f6fee5b228750639f254f40f16d9e6ea4ac2e5387dd26c445334577506"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.webkitGetAsEntry \u0026\u0026 item.webkitGetAsEntry()\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/core/themes.js, channel/web/static/js/views/skills.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":"channel/web/static/js/core/themes.js"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e85390718d556a87eb7389968bda0968f242ea4d63adc523396b7b17c10526"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060keyInput.dataset.masked === \u00271\u0027 \u0026\u0026 keyInput.value !== keyInput.dataset.maskedVal\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/views/models-custom-provider.js, channel/web/static/js/views/models.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":"channel/web/static/js/views/models-custom-provider.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5f1900989c1196c03b715ba75ac38c329def5bf2f331842afcde94b9309d3d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060localStorage.getItem(\u0027cow_knowledge_agent\u0027) || \u0027\u0027\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/views/knowledge.js, desktop/src/renderer/src/pages/KnowledgePage.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":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb0cb3ceb4624ee8b9629ab72f6396273df72c24f98f2da11efb801703010f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060localStorage.getItem(\u0027cow_memory_agent\u0027) || \u0027\u0027\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/views/agents.js, desktop/src/renderer/src/pages/MemoryPage.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":"channel/web/static/js/views/agents.js"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"80abdf3090d6d8a9962c7a57cb22815bf48e03c9661cfae1f562fcd6672432c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060localStorage.getItem(SIDEBAR_GROUPS_KEY) || \u0027{}\u0027\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/core/menu.js, channel/web/static/js/core/nav.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":"channel/web/static/js/core/menu.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb09764cdeac50db9758c7862c2832c738b959343aafe288cad685434aac0845"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060m === activeModel \u0026\u0026 p.id === activeProvider\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/chat/session-settings.js, desktop/src/renderer/src/components/ModelSelector.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":"channel/web/static/js/chat/session-settings.js"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bbd4d18184f8665f4709dff2e2a015ad095ecbe9a1feed80f77217d2a1faf34"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mediaRecorder \u0026\u0026 mediaRecorder.state !== \u0027inactive\u0027\u0060 appears character-identically in 2 files \u2014 channel/web/static/guest/guest.js, channel/web/static/js/chat/state.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":"channel/web/static/guest/guest.js"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"134c425299d59bcab6fb3b2eb41d3d4bf83dd6285d1c6b4fc54927328c29e43c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060menu \u0026\u0026 !menu.classList.contains(\u0027hidden\u0027)\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/views/agents.js, channel/web/static/js/views/shares.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":"channel/web/static/js/views/agents.js"},"region":{"startLine":1355}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5acf47f2e85d2209b739099074982eac66f1c4a207c38313f8b2386a1dbe701"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060menu.contains(e.target) || (btn \u0026\u0026 btn.contains(e.target))\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/chat/session-settings.js, channel/web/static/js/chat/workspace-selector.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":"channel/web/static/js/chat/session-settings.js"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad50cb29d6623b27c734db01d78b72b185646a22ca2eb0e1d363fb1c4e5406b9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mode === undefined \u0026\u0026 (iid === \u0027scan\u0027 || iid === \u0027manual\u0027)\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/views/channels-feishu.js, channel/web/static/js/views/channels-wecom.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":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e341a3338b7658d2088192edeb2e5ec65835102c90a0362f9c470da54dede1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060navigator.clipboard \u0026\u0026 window.isSecureContext\u0060 appears character-identically in 2 files \u2014 channel/web/static/guest/guest.js, channel/web/static/js/chat/message-actions.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":"channel/web/static/guest/guest.js"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"70aed084050cf464017ff3693a02aeb3893c0bbcbb995876ae34ca4b322c7270"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060open \u0026\u0026 !open.block \u0026\u0026 indent \u003E= open.indent \u0026\u0026 line.startsWith(\u0027- \u0027)\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/views/skills.js, desktop/src/renderer/src/pages/skills/frontmatter.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":"channel/web/static/js/views/skills.js"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cd8d9ff6cf331ca45f96ac95d4ab4dffca1c31f53b240109107fd12c6b9840"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060open \u0026\u0026 open.block \u0026\u0026 indent \u003E open.indent\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/views/skills.js, desktop/src/renderer/src/pages/skills/frontmatter.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":"channel/web/static/js/views/skills.js"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f932f95a8ba538e2d66426a077c6795b6fd4c862d73acef708262e80752938"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060open.type !== \u0027link_open\u0027 || open.markup !== \u0027linkify\u0027\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/core/markdown.js, desktop/src/renderer/src/components/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":"channel/web/static/js/core/markdown.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4e0d30c8b0e222debf831c88d9ab6f729529581a4ebb079f0cc526e901784f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060p.configured || (p.is_custom \u0026\u0026 !!p.custom_name)\u0060 appears character-identically in 2 files \u2014 desktop/src/renderer/src/pages/settings/CapabilityCard.tsx, desktop/src/renderer/src/pages/settings/ChatFallbackCard.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":"desktop/src/renderer/src/pages/settings/CapabilityCard.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d087e7c9b0d7eaac41008b819f892ae4b48e9ee2531f0fbf5c29472b6feb85"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060path.length \u0026\u0026 path[path.length - 1].indent \u003E= indent\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/views/skills.js, desktop/src/renderer/src/pages/skills/frontmatter.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":"channel/web/static/js/views/skills.js"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"6753cd8428b96d2129c3c5174cd51440591bb87b320ac950b40eee2a9d4272d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060payload.agent_name || payload.agent_id || \u0027\u0027\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/chat/render.js, desktop/src/renderer/src/lib/handoff.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":"channel/web/static/js/chat/render.js"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eda077439fd3bcc9bc8fb151157c7912af006df4a85aed97b9b0700d4fad3dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pwdOn \u0026\u0026 password \u0026\u0026 password.length \u003C 6\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/views/shares.js, desktop/src/renderer/src/pages/settings/shares/ShareEditor.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":"channel/web/static/js/views/shares.js"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a52d9ff4eb47adbfff6141cf7db2286ed2567d4847c21a913d94e5750e9e6a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060recipient.instance_id || recipient.channel_type\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/views/tasks-modal.js, desktop/src/renderer/src/pages/TasksPage.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":"channel/web/static/js/views/tasks-modal.js"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4e055d53ee17e43c2eade1409ae45afd95cc158db4f224844802a63c05ea56"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ref.current \u0026\u0026 !ref.current.contains(e.target as Node)\u0060 appears character-identically in 3 files \u2014 desktop/src/renderer/src/components/ChannelTeamSelect.tsx, desktop/src/renderer/src/pages/ChannelsPage.tsx, desktop/src/renderer/src/pages/KnowledgePage.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":"desktop/src/renderer/src/components/ChannelTeamSelect.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2767ffc0354f19914a2f59c80cb2340716b9f4a8d629b375410000a0307fa9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060res.status !== \u0027success\u0027 || !res.editable\u0060 appears character-identically in 2 files \u2014 desktop/src/renderer/src/store/docEditorStore.ts, desktop/src/renderer/src/store/workspaceStore.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":"desktop/src/renderer/src/store/docEditorStore.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecd85f0ec69dbbea86cc93b5289697a35c77943ce9b8cb0a4f45aa758796f02"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rootRef.current \u0026\u0026 !rootRef.current.contains(e.target as Node)\u0060 appears character-identically in 4 files \u2014 desktop/src/renderer/src/components/AgentScopeSelect.tsx, desktop/src/renderer/src/components/ComposerChip.tsx, desktop/src/renderer/src/components/NewChatMenu.tsx, desktop/src/renderer/src/components/WorkspaceSelector.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":"desktop/src/renderer/src/components/AgentScopeSelect.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e3a151693ec86ad64d2c5125c8c72ffd60378c426e59a003c70e5b2e492e29"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run.task_name || run.task_id || t(\u0027record_detail_title\u0027)\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/views/tasks.js, desktop/src/renderer/src/pages/TasksPage.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":"channel/web/static/js/views/tasks.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8083b3099e6edb9b629ef29bae0b51eab897ff95fee6d4994a1f7c59607cbe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof raw.name === \u0027string\u0027 \u0026\u0026 raw.name.trim()\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/core/themes.js, desktop/src/renderer/src/theme/themes.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":"channel/web/static/js/core/themes.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"757a36593cb6a4357285f67d11a9d3d573538ff9a72b266117fed6c37f2cc009"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof v === \u0027number\u0027 \u0026\u0026 Number.isFinite(v)\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/core/themes.js, desktop/src/renderer/src/theme/themes.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":"channel/web/static/js/core/themes.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"16086652c90fc4446ac9f7a05ca21b4bc253ab047df5012ee55e24064800d383"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof v === \u0027string\u0027 \u0026\u0026 v.trim() !== \u0027\u0027 \u0026\u0026 v.length \u003C= 300 \u0026\u0026 !/url\\s*\\(|@import|expression\\s*\\(/i.test(v)\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/core/themes.js, desktop/src/renderer/src/theme/themes.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":"channel/web/static/js/core/themes.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf9900e15afaf27762d9a2cc5b6f7c30fdbf37c2e88898ac58415ca973830cb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060uploadingCount \u003E 0 || (!chatInput.value.trim() \u0026\u0026 pendingAttachments.length === 0)\u0060 appears character-identically in 2 files \u2014 channel/web/static/guest/guest.js, channel/web/static/js/chat/state.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":"channel/web/static/guest/guest.js"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7acd54ccbf4705dce5d4e5c51923c951b696cf8c7211b9a2cfc06342b472a2c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === \u0027\u0027 || value === null || value === undefined || value === false\u0060 appears character-identically in 2 files \u2014 channel/web/static/js/views/skills.js, desktop/src/renderer/src/pages/skills/mcpConfig.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":"channel/web/static/js/views/skills.js"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"8defe2cdbb86ffc8f4d1cc4835ee09cdaa0c50c46b840e349382df41b8ca17a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022connection\u0022 in error_str or \u0022network\u0022 in error_str\u0060 appears character-identically in 2 files \u2014 models/claudeapi/claude_api_bot.py, models/zhipuai/zhipuai_bot.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":"models/claudeapi/claude_api_bot.py"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a795dff9615d06874aa49a7e9cd4232fea615a41e388a4f333f3bf296f0998"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022desire_rtype\u0022 not in context and conf().get(\u0022always_reply_voice\u0022)\u0060 appears character-identically in 6 files \u2014 channel/discord/discord_channel.py, channel/feishu/feishu_channel.py, channel/slack/slack_channel.py, channel/telegram/telegram_channel.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":"channel/discord/discord_channel.py"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7cfdb5c51c9e48d28f4d5b5df09b086c9ad26c29920cd8fc11727da4e073be"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022function\u0022 in tool_call_chunk and \u0022arguments\u0022 in tool_call_chunk[\u0022function\u0022]\u0060 appears character-identically in 5 files \u2014 models/deepseek/deepseek_bot.py, models/doubao/doubao_bot.py, models/mimo/mimo_bot.py, models/minimax/minimax_bot.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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"6308d5eba993785aad1403d1d0778e9eebc959061c90f9c8ca80c7f7247e6dec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022tool_calls\u0022 in delta and delta[\u0022tool_calls\u0022]\u0060 appears character-identically in 3 files \u2014 agent/protocol/agent_stream.py, models/deepseek/deepseek_bot.py, models/mimo/mimo_bot.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent_stream.py"},"region":{"startLine":1910}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59cb4f8f285aafcd4bff5a89ecf01cce423f3079282d6640e50b459e9fda052"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022type\u0022 in tool and tool[\u0022type\u0022] == \u0022function\u0022\u0060 appears character-identically in 5 files \u2014 models/deepseek/deepseek_bot.py, models/doubao/doubao_bot.py, models/mimo/mimo_bot.py, models/modelscope/modelscope_bot.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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efaba63ea502f8b72bd21783d5e6add37c0fa06bfa96f92b10bd814c830ef51"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0027type\u0027 in tool and tool[\u0027type\u0027] == \u0027function\u0027\u0060 appears character-identically in 3 files \u2014 models/dashscope/dashscope_bot.py, models/openai_compatible_bot.py, models/zhipuai/zhipuai_bot.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":"models/dashscope/dashscope_bot.py"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"622d24988268198aabd00fdca26de517b09ab7cbb8d34406ac813c52fd80a1df"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060block.get(\u0022type\u0022) == \u0022tool_use\u0022 and block.get(\u0022id\u0022)\u0060 appears character-identically in 2 files \u2014 agent/protocol/message_utils.py, agent/protocol/step_writer.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/message_utils.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e39183fb156db147a8d731205dc53cb606c8d66f5a6b24961dd62405dba06f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060body.get(\u0022agent\u0022) or body.get(\u0022agent_id\u0022)\u0060 appears character-identically in 2 files \u2014 channel/web/api/sessions.py, channel/web/api/workspace.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":"channel/web/api/sessions.py"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6716dc259b684de27c845287872746f66be4869f9db0802307afd2035fde69"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bool(remote_url) and remote_url.lower().startswith((\u0022http://\u0022, \u0022https://\u0022))\u0060 appears character-identically in 2 files \u2014 bridge/agent_bridge.py, channel/web/core/channel.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":"bridge/agent_bridge.py"},"region":{"startLine":1958}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6aade030c692d283a2dcfb790f15953dde4c17e7541a1914a371d678ada9cbc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060call_args.pop(\u0022request_timeout\u0022, None) or call_args.pop(\u0022timeout\u0022, None)\u0060 appears character-identically in 2 files \u2014 models/chatgpt/chat_gpt_bot.py, models/openai/open_ai_bot.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":"models/chatgpt/chat_gpt_bot.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"e328fcc7f1fa5c42c179ae51b831b8aea77fca28c562e791e3b392d15e2cc03a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cancel_event is not None and cancel_event.is_set()\u0060 appears character-identically in 3 files \u2014 agent/chat/service.py, agent/subagent/runner.py, bridge/agent_bridge.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/chat/service.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a50835747b2b2769e0e5e9d3b795d6b0f88f55836d240ec58c1cd0092121da"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conf().get(\u0022linkai_api_base\u0022) or \u0022https://api.link-ai.tech\u0022\u0060 appears character-identically in 2 files \u2014 agent/tools/web_search/web_search.py, models/linkai/link_ai_bot.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/web_search/web_search.py"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"550cae15d00ed31ca3910333af834c6bcd7626901855fe30ea042eee23509f0a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conf().get(\u0022mimo_api_base\u0022) or DEFAULT_API_BASE\u0060 appears character-identically in 2 files \u2014 models/mimo/mimo_bot.py, voice/mimo/mimo_voice.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":"models/mimo/mimo_bot.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c85d2899aa4ed37ad7487ebca42d5e606029cde56914ac1c8a94a80c0299bb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conf().get(\u0022model\u0022) or \u0022text-davinci-003\u0022\u0060 appears character-identically in 2 files \u2014 models/claudeapi/claude_api_bot.py, models/openai/open_ai_bot.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":"models/claudeapi/claude_api_bot.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba12ccd8ed589980a98ef18858b2ceea56053d66742bd0e3233a95f16fb8c5d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conf().get(\u0022model\u0022) or const.DEFAULT_MODEL\u0060 appears character-identically in 2 files \u2014 bridge/agent_bridge.py, bridge/bridge.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":"bridge/agent_bridge.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"63bfb5c001139474cec89ed3a9e8ede31e0bffcb5cecbfa67991613f973f509f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conf().get(\u0022text_to_image\u0022) or \u0022dall-e-2\u0022\u0060 appears character-identically in 2 files \u2014 models/linkai/link_ai_bot.py, models/openai/open_ai_image.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":"models/linkai/link_ai_bot.py"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"783f6f410c2ef979d9d9e2748057dba8f04a39aa2f8ce88d3a8f4cdc3ee60c97"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conf().get(\u0022text_to_voice_model\u0022) or DEFAULT_TTS_MODEL\u0060 appears character-identically in 3 files \u2014 voice/dashscope/dashscope_voice.py, voice/mimo/mimo_voice.py, voice/zhipuai/zhipuai_voice.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":"voice/dashscope/dashscope_voice.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e06013adaea72c4406677a10e8f1d5d4f34fe413d742cafbc61005eea624ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conf().get(\u0022tts_voice_id\u0022) or DEFAULT_TTS_VOICE\u0060 appears character-identically in 3 files \u2014 voice/dashscope/dashscope_voice.py, voice/mimo/mimo_voice.py, voice/zhipuai/zhipuai_voice.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":"voice/dashscope/dashscope_voice.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51d6aa02e0bfa0458c22824d97b66f3cc057a46eb4bdac1be7a3976cd7efeb0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conf().get(\u0022use_linkai\u0022, False) and conf().get(\u0022linkai_api_key\u0022)\u0060 appears character-identically in 2 files \u2014 agent/tools/vision/vision.py, bridge/agent_bridge.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/vision/vision.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ec0c2ce7ae54dda994d71bebbf2aeaca2c2223d2535e1c1f9085364279f3ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conf().get(\u0022voice_reply_voice\u0022) or conf().get(\u0022always_reply_voice\u0022)\u0060 appears character-identically in 6 files \u2014 channel/chat_channel.py, channel/discord/discord_channel.py, channel/feishu/feishu_channel.py, channel/slack/slack_channel.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":"channel/chat_channel.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c553cfd69b6480e177389a13a92fc389a6f8cf61d52eb7db1ed6510dc8fe2a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conf().get(\u0022voice_to_text_model\u0022) or DEFAULT_ASR_MODEL\u0060 appears character-identically in 3 files \u2014 voice/dashscope/dashscope_voice.py, voice/mimo/mimo_voice.py, voice/zhipuai/zhipuai_voice.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":"voice/dashscope/dashscope_voice.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"897348919d3e0a1f43d18642b0dc04ba780f3162ac9d9b48a5442682e1171d07"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ctype in (ContextType.IMAGE, ContextType.FILE) and caption\u0060 appears character-identically in 3 files \u2014 channel/discord/discord_channel.py, channel/slack/slack_channel.py, channel/telegram/telegram_channel.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":"channel/discord/discord_channel.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae36cf68675c631da38c1716e7e6e61d1dfdde541eaf9a4c0e5371817832e11"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060decision is None or decision.fallback_reason is not None\u0060 appears character-identically in 2 files \u2014 agent/protocol/agent_stream.py, agent/tools/mcp/tool_retrieval.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent_stream.py"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c30d7783f4e70ddfe6f9b1a4d6acb20214e5023592c55921e54319549988c1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file_name or os.path.basename(file_path)\u0060 appears character-identically in 2 files \u2014 channel/qq/qq_channel.py, channel/wecom_bot/wecom_bot_channel.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":"channel/qq/qq_channel.py"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff4ce93c7239f46d5d2cb749cc30648455fc831a7a4101cec7d6072034a2b6b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file_name or os.path.basename(local_path)\u0060 appears character-identically in 2 files \u2014 channel/feishu/feishu_channel.py, channel/weixin/weixin_channel.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":"channel/feishu/feishu_channel.py"},"region":{"startLine":2231}}}],"partialFingerprints":{"codehealthFindingId/v1":"97592d803fc04fee5c79b25be017208cf106a2a4a55fbdebab091374a662c82f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(file_obj, \u0022filename\u0022, \u0022\u0022) or \u0022recording.webm\u0022\u0060 appears character-identically in 2 files \u2014 channel/web/api/files.py, channel/web/api/guest.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":"channel/web/api/files.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2b188820bda7b4ed1a94b7d32d1d877e2d5fead1536b2c8bf4c7e1903f6f26"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(reply, \u0022file_name\u0022, \u0022\u0022) or os.path.basename(url_path)\u0060 appears character-identically in 2 files \u2014 channel/discord/discord_channel.py, channel/telegram/telegram_channel.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":"channel/discord/discord_channel.py"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"b425a7abbe06ab995748bf3fc88b164df47b1f72906c71057b1903721938c7d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(reply, \u0022file_name\u0022, None) or None\u0060 appears character-identically in 3 files \u2014 channel/discord/discord_channel.py, channel/slack/slack_channel.py, channel/telegram/telegram_channel.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":"channel/discord/discord_channel.py"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8c7842b99d5e7ed2e9bca16e615c215a04a74b7070c59f161efb738bac9890"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(reply, \u0022text_content\u0022, \u0022\u0022) or \u0022\u0022\u0060 appears character-identically in 4 files \u2014 agent/tools/agent_delegate/agent_delegate.py, channel/wechat_kf/wechat_kf_channel.py, channel/wecom_bot/wecom_bot_channel.py, channel/weixin/weixin_channel.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/agent_delegate/agent_delegate.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"587d61825df9b6c491ecf519f142ced2e58e6ac069794383d82da8e370a11506"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(reply, \u0022text_content\u0022, None) or None\u0060 appears character-identically in 3 files \u2014 channel/discord/discord_channel.py, channel/slack/slack_channel.py, channel/telegram/telegram_channel.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":"channel/discord/discord_channel.py"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"317c5614150c17749a88ae86d61f7f0b03ac7530a38f8be27d771bf0c8d288ed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(self, \u0022bound_agent_id\u0022, \u0022\u0022) or None\u0060 appears character-identically in 3 files \u2014 channel/discord/discord_channel.py, channel/slack/slack_channel.py, channel/telegram/telegram_channel.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":"channel/discord/discord_channel.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"944f0fdd5000d8923b859c1e35f0ec85da7791e0acf4673cc15242798aba3d3e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(reply, \u0022text_content\u0022) and reply.text_content\u0060 appears character-identically in 2 files \u2014 channel/qq/qq_channel.py, channel/wecom_bot/wecom_bot_channel.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":"channel/qq/qq_channel.py"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"17284fa208890b12b966c9898cdc18a56e7ec021ad71441c7ab486b11420e2ba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(reply, \u0027text_content\u0027) and reply.text_content\u0060 appears character-identically in 2 files \u2014 channel/dingtalk/dingtalk_channel.py, channel/feishu/feishu_channel.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":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed68f12776f5612b74b518c7f43294e1e8bf2ccc4507c6ea62407c468ff2e33"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060index \u003C len(paths) and isinstance(paths[index], str)\u0060 appears character-identically in 2 files \u2014 channel/web/api/skills.py, channel/web/api/themes.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":"channel/web/api/skills.py"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"197f9b3a3edddddb03dcce71d8a7b86a2b6a90e565cffb6bb0fe5ded363bf34e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(b, dict) and b.get(\u0022type\u0022) == \u0022text\u0022\u0060 appears character-identically in 7 files \u2014 agent/chat/service.py, agent/memory/conversation_store.py, agent/protocol/agent.py, agent/protocol/agent_stream.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/chat/service.py"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"861725d3715feb02f2fa46fa3b21a9662711d1163e350baa96f4ef7f5a9893e6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(b, dict) and b.get(\u0022type\u0022) == \u0022thinking\u0022\u0060 appears character-identically in 2 files \u2014 bridge/agent_bridge.py, models/linkai/link_ai_bot.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":"bridge/agent_bridge.py"},"region":{"startLine":2419}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbb7546c89c932269607e6228514e7d190abaa7f2b0bbe230ed8fab6e9b951e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(b, dict) and b.get(\u0022type\u0022) == \u0022tool_result\u0022\u0060 appears character-identically in 11 files \u2014 agent/chat/service.py, agent/memory/conversation_store.py, agent/protocol/agent.py, agent/protocol/message_utils.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/chat/service.py"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"423c36562f94d9474e92f310ff487a636d2f71aa8fc86ce01f031c25497bde32"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(b, dict) and b.get(\u0022type\u0022) == \u0022tool_use\u0022\u0060 appears character-identically in 6 files \u2014 agent/memory/conversation_store.py, bridge/agent_initializer.py, models/deepseek/deepseek_bot.py, models/linkai/link_ai_bot.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd8877b3d5a65171713219a6d9e11d42aea261e9565f217da9ab6fdfb2e0ee0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(block, dict) and block.get(\u0022type\u0022) == \u0022image_url\u0022\u0060 appears character-identically in 2 files \u2014 models/claudeapi/claude_api_bot.py, models/dashscope/dashscope_bot.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":"models/claudeapi/claude_api_bot.py"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb00a2e85b17d5279b54c49f980d61a6fc27205f0e56a0405ae66b4ff1a07539"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(block, dict) and block.get(\u0022type\u0022) == \u0022text\u0022\u0060 appears character-identically in 5 files \u2014 agent/chat/service.py, agent/evolution/executor.py, agent/memory/summarizer.py, agent/protocol/message_utils.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/chat/service.py"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38be82c7e8ce6cf39cdc670fd0f2d329c9bfbc678bd838a3093aa7c54646540"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(block, dict) and block.get(\u0022type\u0022) == \u0022tool_use\u0022\u0060 appears character-identically in 2 files \u2014 agent/protocol/agent_stream.py, agent/protocol/step_writer.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent_stream.py"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"798f89b79c2c907cf07df160fa7320c9a2193d0431951d952e44d4d3f658aa25"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(content, str) and content.startswith(\u0022file://\u0022)\u0060 appears character-identically in 3 files \u2014 channel/discord/discord_channel.py, channel/slack/slack_channel.py, channel/telegram/telegram_channel.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":"channel/discord/discord_channel.py"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0dd8f3faf660f295eef073cff537df06087cfac17bc71b238286ecc4e22e70"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(data, dict) and data.get(\u0022error\u0022)\u0060 appears character-identically in 2 files \u2014 agent/tools/web_fetch/web_fetch.py, agent/tools/web_search/web_search.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/web_fetch/web_fetch.py"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3d83c25adeb2bdcd864c34092517287bf6e484a345a35bc8e0637459ed5a50"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(raw_ct, str) and \u0022,\u0022 in raw_ct\u0060 appears character-identically in 2 files \u2014 bridge/agent_initializer.py, models/linkai/link_ai_bot.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":"bridge/agent_initializer.py"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"581f0ac950ec6f0340e548fed117f1e1616419d592d83761e85159262bf56338"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(response, dict) and response.get(\u0022error\u0022)\u0060 appears character-identically in 2 files \u2014 agent/tools/vision/vision.py, models/gemini/google_gemini_bot.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/vision/vision.py"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f5b2bb1bf0c343d71545f78f859cd2adfd92f72ab0a9650cc89dad9b6092c3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key or os.environ.get(\u0022DEEPSEEK_API_KEY\u0022, \u0022\u0022).strip()\u0060 appears character-identically in 2 files \u2014 agent/tools/web_fetch/web_fetch.py, agent/tools/web_search/web_search.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/web_fetch/web_fetch.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb89adf0f47697d00786e551a6f9b1ca04686de0e0b0a7bb03dea560fb2af49"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060kwargs.pop(\u0022model\u0022, None) or self.args[\u0022model\u0022]\u0060 appears character-identically in 5 files \u2014 models/deepseek/deepseek_bot.py, models/doubao/doubao_bot.py, models/mimo/mimo_bot.py, models/minimax/minimax_bot.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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bdd5690e433c397b8846f5726f668a0b27f0a19e3023322749d51312b11d30"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(self.messages) == 2 and self.messages[1][\u0022role\u0022] == \u0022assistant\u0022\u0060 appears character-identically in 10 files \u2014 models/chatgpt/chat_gpt_session.py, models/dashscope/dashscope_session.py, models/deepseek/deepseek_session.py, models/doubao/doubao_session.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":"models/chatgpt/chat_gpt_session.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ba99019caecca1d99c51256d3fff03404723dd3fc37b6fcf92e6034595f3a0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(self.messages) == 2 and self.messages[1][\u0022role\u0022] == \u0022user\u0022\u0060 appears character-identically in 10 files \u2014 models/chatgpt/chat_gpt_session.py, models/dashscope/dashscope_session.py, models/deepseek/deepseek_session.py, models/doubao/doubao_session.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":"models/chatgpt/chat_gpt_session.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf04550deb854530c6c2254da15ff8e7983b9397be2b2f7b59673034b2666540"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060line and not line.startswith(\u0027#\u0027) and \u0027=\u0027 in line\u0060 appears character-identically in 2 files \u2014 bridge/agent_bridge.py, bridge/agent_initializer.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":"bridge/agent_bridge.py"},"region":{"startLine":2027}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7cc3a12ef2ab29b24ab5ab22b0bc18e879f461f91cd21d8dd2a8f190f9a74e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lower.endswith(\u0022.amr\u0022) or lower.endswith(\u0022.silk\u0022) or lower.endswith(\u0022.slk\u0022)\u0060 appears character-identically in 2 files \u2014 voice/dashscope/dashscope_voice.py, voice/linkai/linkai_voice.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":"voice/dashscope/dashscope_voice.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b87d885da5dd56b503726240a6883e2cd85ad8322c65e497f4010bb2da4e54"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mimetypes.guess_type(real)[0] or \u0022application/octet-stream\u0022\u0060 appears character-identically in 3 files \u2014 agent/guest/actions.py, agent/guest/tools.py, channel/web/api/guest.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/guest/actions.py"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b07907090f7cbfcfb1a9fa425b9eebd9735b20b1de68910d72ec598dbcfb663"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060model_name.lower().startswith(\u0022minimax\u0022) or model_name in [\u0022abab6.5-chat\u0022]\u0060 appears character-identically in 2 files \u2014 bridge/agent_bridge.py, plugins/cow_cli/cow_cli.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":"bridge/agent_bridge.py"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"798f90c7a690a760bb14a9f887c62cd9476caf9e0b9ee2f4720878b022eaf5a3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060msg.type == \u0022voice\u0022 and wechatmp_msg.ctype == ContextType.TEXT and conf().get(\u0022voice_reply_voice\u0022, False)\u0060 appears character-identically in 2 files \u2014 channel/wechatmp/active_reply.py, channel/wechatmp/passive_reply.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":"channel/wechatmp/active_reply.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c58428d16c4dbe5099e749c4a957c4f4fe9f1342332596f8e456f5ef7f089f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not converted_messages or converted_messages[0].get(\u0022role\u0022) != \u0022system\u0022\u0060 appears character-identically in 4 files \u2014 models/deepseek/deepseek_bot.py, models/doubao/doubao_bot.py, models/mimo/mimo_bot.py, models/moonshot/moonshot_bot.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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c0add7470f22af66f49648ca2d685edfe82a3b544056b73deda4382c283e97"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not image_url or not isinstance(image_url, str)\u0060 appears character-identically in 2 files \u2014 channel/dingtalk/dingtalk_message.py, models/gemini/google_gemini_bot.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":"channel/dingtalk/dingtalk_message.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"14736a1da48fa4da4cc73a90a537fa3c662f98cf45809c2accf652a65a2e1051"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(agent_id, str) or not _AGENT_ID_RE.fullmatch(agent_id)\u0060 appears character-identically in 2 files \u2014 agent/registry.py, cli/commands/backup.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/registry.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7d5d536ba52c3b2c14bb12763b1c16db50b11158e5e332028f939a11a4ae22"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(block, dict) or block.get(\u0022type\u0022) != \u0022tool_result\u0022\u0060 appears character-identically in 2 files \u2014 agent/protocol/agent_stream.py, agent/protocol/artifact.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent_stream.py"},"region":{"startLine":2703}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace175689e0c248ab57a6d59b1c862f43feb4e1a92efe88baa350231d6848987"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(name, str) or not name.strip()\u0060 appears character-identically in 2 files \u2014 agent/registry.py, agent/tools/scheduler/time_utils.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/registry.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"383441456d29b2444b777996e341196e782a38142a1464d43e89fa9ba5338f86"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(value, str) or not value.strip()\u0060 appears character-identically in 2 files \u2014 agent/registry.py, channel/web/api/models.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/registry.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcebecc0b38108f7962b98d6485a8292a14833c9cbb71168fcbfa11a94b4e7d5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not messages or messages[0].get(\u0027role\u0027) != \u0027system\u0027\u0060 appears character-identically in 4 files \u2014 models/dashscope/dashscope_bot.py, models/linkai/link_ai_bot.py, models/openai_compatible_bot.py, models/zhipuai/zhipuai_bot.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":"models/dashscope/dashscope_bot.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95fc9b0ceb5b4a81aa53a4f8afc93bf82e6a230a78fef6a7fbedea82b86ce0f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not model_name or not isinstance(model_name, str)\u0060 appears character-identically in 3 files \u2014 bridge/agent_bridge.py, models/openai/responses_adapter.py, models/openai_compatible_bot.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":"bridge/agent_bridge.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1721bc2463e1336dd09c91d2283a219042666450e5ea4d85adbf5d0526fbda"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os.environ.get(\u0022COW_WEB_PORT\u0022) or conf().get(\u0022web_port\u0022, 9899)\u0060 appears character-identically in 2 files \u2014 agent/tools/mcp/mcp_client.py, channel/web/core/channel.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/mcp/mcp_client.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed36e7220e5067bb1bb44158ff985c9669f01705e59b56209745ecceb939747c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os.environ.get(\u0022DISPLAY\u0022) or os.environ.get(\u0022WAYLAND_DISPLAY\u0022)\u0060 appears character-identically in 3 files \u2014 agent/tools/browser/browser_service.py, channel/web/core/_common.py, cli/commands/install.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/browser/browser_service.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1b5d66fdeb5c8f18b8cad1e44f5ea2bd5d6ddd764595b1ad1f9d672b8258a8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060path == home or path.startswith(home \u002B os.sep)\u0060 appears character-identically in 2 files \u2014 channel/web/api/artifacts.py, common/cloud_client.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":"channel/web/api/artifacts.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd3c385e45c8f30c2658433ebaa913420c962c7eff4b358d3ab8b890fc51a67"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rel or getattr(file_obj, \u0022filename\u0022, \u0022\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 channel/web/api/skills.py, channel/web/api/themes.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":"channel/web/api/skills.py"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7090c0c07cc2c6183d065a06171bbf3fa7344ddecab21203f9a6b830007f57"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060reply is None or reply.type != ReplyType.VOICE or not reply.content\u0060 appears character-identically in 2 files \u2014 channel/web/api/files.py, channel/web/core/channel.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":"channel/web/api/files.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"256293e0be1759c605180b327c66d1b2d6cbbf26dfe2e3a655d32557911ff748"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060reply is not None and reply.type == ReplyType.ERROR\u0060 appears character-identically in 2 files \u2014 agent/multiagent/inbound.py, agent/tools/agent_delegate/agent_delegate.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/multiagent/inbound.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"3925bafe366e7ed306357338aed81e8fd74a441d16e920c4846a7a232af4adb3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060reply.type == ReplyType.VIDEO or file_path.lower().endswith( (\u0027.mp4\u0027, \u0027.avi\u0027, \u0027.mov\u0027, \u0027.wmv\u0027, \u0027.flv\u0027))\u0060 appears character-identically in 2 files \u2014 channel/dingtalk/dingtalk_channel.py, channel/feishu/feishu_channel.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":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee02a37a3e9960b59467a1d2f758b3b4b2a7fcc1fae7e89c1c39a1d0de966c84"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060reply_content[\u0022completion_tokens\u0022] == 0 and len(reply_content[\u0022content\u0022]) \u003E 0\u0060 appears character-identically in 10 files \u2014 models/chatgpt/chat_gpt_bot.py, models/dashscope/dashscope_bot.py, models/deepseek/deepseek_bot.py, models/doubao/doubao_bot.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":"models/chatgpt/chat_gpt_bot.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"50aa98c42cc3f38df965c9f0a32cff18e26ba3149520b17a4b43cf3e80bf16fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.choices[0].message.content or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 agent/memory/summarizer.py, models/zhipuai/zhipuai_bot.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/summarizer.py"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d2ce780d153d65f93a841080dbe30fc1119e1d941a36a63ce00b393f375ee2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.headers.get(\u0022Content-Length\u0022) or 0\u0060 appears character-identically in 2 files \u2014 channel/feishu/feishu_static_card.py, common/media_download.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":"channel/feishu/feishu_static_card.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8cacdbf106a3ac3425b6012c3f04d2562a84aafcad15b55886ce912a6df0873"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.returncode != 0 and process.poll() is None\u0060 appears character-identically in 2 files \u2014 agent/tools/bash/background.py, agent/tools/bash/bash.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/bash/background.py"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7e2521518b9a042f60d41b896b21dc0456a9b4bf10a8cad8b355dffe98838b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060role == \u0022assistant\u0022 and isinstance(msg, dict) and has_tool_call_history and \u0022reasoning_content\u0022 not in msg\u0060 appears character-identically in 2 files \u2014 models/deepseek/deepseek_bot.py, models/mimo/mimo_bot.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":"models/deepseek/deepseek_bot.py"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed53880e1df5cd5987fdbf16e9edeeaa57203eb6fea8577e116b63ff8f72f82e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self._loop_thread and self._loop_thread.is_alive()\u0060 appears character-identically in 3 files \u2014 channel/discord/discord_channel.py, channel/slack/slack_channel.py, channel/telegram/telegram_channel.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":"channel/discord/discord_channel.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"65312c6d79ec1c2a2280102ff412d14d2290a3a099f52c996f116bd48700ae06"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.cancelled or bool(data.get(\u0022cancelled\u0022))\u0060 appears character-identically in 2 files \u2014 channel/dingtalk/dingtalk_stream_card.py, channel/feishu/feishu_progress_card.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":"channel/dingtalk/dingtalk_stream_card.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd15b6b550680466e92e615626acf74034a2468b657c2c110bbd299f9a13f4a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.memory_manager and feeds_memory_index( absolute_path, self.memory_manager, self.cwd )\u0060 appears character-identically in 2 files \u2014 agent/tools/edit/edit.py, agent/tools/write/write.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/edit/edit.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8bc0979241f2e3d52017e329c7ae88bc40d86852bc7f7f57326ee0148afd75"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060settings.get(\u0022agent_workspace\u0022) or \u0022~/cow\u0022\u0060 appears character-identically in 3 files \u2014 agent/admin.py, agent/registry.py, agent/team.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/admin.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"67bce3f04694a900d6aea26b5361e1a8eec73a90432d13cd317f62bc9d3a6c2f"}},{"ruleId":"X13","level":"warning","message":{"text":"Redirected process stream is never drained (deadlock): \u0060spawn\u0060 pipes \u0060stderr\u0060 here \u2014 it is given no \u0060stdio\u0060 option, or \u0060\u0027pipe\u0027\u0060 \u2014 but nothing in this scope ever reads \u0060child.stderr\u0060, while \u0060child.stdout\u0060 is read and the child\u0027s end is awaited. Node holds an unread pipe\u0027s output only up to its buffer: once the child writes more than that to stderr (measured on Linux: about 128 KB \u2014 the 64 KB pipe plus Node\u0027s 64 KB read-ahead \u2014 and less elsewhere), the child blocks on the write, never exits, and the \u0060close\u0060/\u0060exit\u0060 this code waits for never fires. Nothing fails loudly: the promise never settles, the request never returns, and the stuck child holds its resources until something kills it. Consume both streams (\u0060child.stderr.on(\u0027data\u0027, \u2026)\u0060, or \u0060child.stderr.resume()\u0060 to discard it), or stop piping the one you do not want \u2014 \u0060stdio: [\u0027pipe\u0027, \u0027pipe\u0027, \u0027inherit\u0027]\u0060 or \u0060\u0027ignore\u0027\u0060 in that slot."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/python-manager.ts"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d04e46a9dc3849fac9d5bd637a16ec5b04630e09b0f451d4e47c3524474b25"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060deep_merge_dicts\u0060 is public and takes \u0060base: dict\u0060 from its caller, and it calls itself at line 8 (\u0060deep_merge_dicts\u0060) with a piece of \u0060base\u0060 \u2014 and nowhere in \u0060deep_merge_dicts\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 \u0060deep_merge_dicts\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/config_json.py"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c020d9bd4c1148b1a0b8b3d53b62d672dcadae382320db85a77a3c1676aaa4a2"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 1/31 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: request: \u0060request\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":"desktop/src/renderer/src/api/client.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8f9c1bd34fe6aaf3dc82077f4ab4d21ac9cc341b31c121c2e397445ecd0c03"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: postFormData: \u0060postFormData\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":"desktop/src/renderer/src/api/client.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda898d3e820a8f2857dad4107fafdf40d4d2f5e57f2ea031490b20ddd142a08"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: shareRequest: \u0060shareRequest\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":"desktop/src/renderer/src/api/client.ts"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94afe4cdf99f71cde90b76e739fb8e4b3a759d6c400d38251ff13438e51ad8b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: wsApi: \u0060wsApi\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":"channel/web/static/js/workspace.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee74c45579d677e4f078d70a50fb5b7a678106782a2c43974d2af737e390dfd"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: wsRenderPreview: \u0060wsRenderPreview\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":"channel/web/static/js/workspace.js"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0f51b6e995386819e8863ecdca62cf983b0e67af39c204810dd1c857a468b3"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: savePreviewEdit: \u0060savePreviewEdit\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":"channel/web/static/js/workspace.js"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca365363074a3bf90355d083d1f5fd2eb6bc5e76497f3972568c8233d25ef20a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: setAgentKnowledgeMode: \u0060setAgentKnowledgeMode\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":"channel/web/static/js/views/agents.js"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb45ca11927f5a49fb1b2c5e2e552f0b950e0d220d38ec84287829203015c77"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: docReadFile: \u0060docReadFile\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":"channel/web/static/js/views/doc-viewers.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1fd6a868cdff6bb86f209b20accfc4141c5bc7a33110f3eb47f304b49db575"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: docWriteFile: \u0060docWriteFile\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":"channel/web/static/js/views/doc-viewers.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b33c8d251ff13e9aa80e14bcde62da3b45c46636ab7342735b2a215bea8e40"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: knowledgeReadDoc: \u0060knowledgeReadDoc\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":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6391d62f1cffed9d391c62016a01c2d8edb266df458aa47daa28adfd7566656d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: knowledgeWriteDoc: \u0060knowledgeWriteDoc\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":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"8912687d4361b022c44a9226c0688567c70b233f91bff5a2139bcd48c8ef76f1"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: _refreshKnowledgeTree: \u0060_refreshKnowledgeTree\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":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"20860dff3b23bf32c6687d5b97c928a6b2e03a358dc8a2186155ec4da2cda7fa"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: dispatchKnowledgeAction: \u0060dispatchKnowledgeAction\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":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"228bcc612e48747e69e4fcb24451a23ed09dbe2e224421d9228eb133912d44dc"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: importKnowledgeDocuments: \u0060importKnowledgeDocuments\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":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"c461ec913be66903f713855b0fcdb561ad75b45925c5499c3f2eeec47e8b6680"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: postJson: \u0060postJson\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":"channel/web/static/js/views/skills.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4825c9e2696c657b4a7b28f894fe2fe438006c23424f5b332df27edc76bc38b7"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: uploadSkillFiles: \u0060uploadSkillFiles\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":"channel/web/static/js/views/skills.js"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6b9f4dd375d07a407f1576813ef56680c59616cd5e1b39f2766c60e5f220b3"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: skillReadContent: \u0060skillReadContent\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":"channel/web/static/js/views/skills.js"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"6326df59e32b585ce3ddaf1c516dfd7f5d41557973668ca3f28c1ff9feb8d106"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: skillWriteContent: \u0060skillWriteContent\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":"channel/web/static/js/views/skills.js"},"region":{"startLine":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5ba773a69f21a8538066bd45905ac2cb2295e0872e91d98fcbec4f1cf607d7"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: skillListFiles: \u0060skillListFiles\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":"channel/web/static/js/views/skills.js"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"184ad93365649e658ccb398598817afde771f2c2d2028f55ffee9f8bc621d8ac"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: postSkillCreate: \u0060postSkillCreate\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":"channel/web/static/js/views/skills.js"},"region":{"startLine":2008}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8028102a94e288867cc5981fcfb4c57638ff002911a8d1fe083e6814f429ce2"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: importThemeFiles: \u0060importThemeFiles\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":"channel/web/static/js/core/themes.js"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"b631c681abd62efd94c4ad374e519ed4e725975076c7be9ca9527eb0faca3646"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: regenerateResponse: \u0060regenerateResponse\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":"channel/web/static/js/chat/send.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b2aba7b7a7391240ee6aeee4308304273438269b89b0cb4130416dabb521fe"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: refreshSessionSettings: \u0060refreshSessionSettings\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":"channel/web/static/js/chat/session-settings.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f590746f27600f0766a4bd8f75206e12c3470c522c845a326784e13c11fb323"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: _applySessionSettings: \u0060_applySessionSettings\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":"channel/web/static/js/chat/session-settings.js"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"bececb50769e554a6877ff8a27b3e8bd9b6e7266d0e87e26e8b3953cf8bbb1c9"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: upload: \u0060upload\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":"channel/web/static/js/chat/state.js"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3a2648a3963f6bfc30584f9e9bdd767ccfe6c017ef7e120a464cf39e9d574c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: handleFileSelect: \u0060handleFileSelect\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":"channel/web/static/js/chat/state.js"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"88cfbf3f56ac9f0fc5a449b4bc39e43529d9c81818ac5c2f1620b2fa89efc7fc"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: handleFolderSelect: \u0060handleFolderSelect\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":"channel/web/static/js/chat/state.js"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f58a736d984d26cdfb436635edfa56157d8e1b15ba0b4b9a0042a7f2c27e88"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: refreshWorkspaceSelector: \u0060refreshWorkspaceSelector\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":"channel/web/static/js/chat/workspace-selector.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c89ce4df9efefa943f95d02258348f3a975f8e145b8bcbc4547316910c0a49e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: _fpBrowse: \u0060_fpBrowse\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":"channel/web/static/js/chat/workspace-selector.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1a447eecdfe96d6811b3c622620c34a9028acdd9c81cd4ea50a764f009b571"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: _wsSelApply: \u0060_wsSelApply\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":"channel/web/static/js/chat/workspace-selector.js"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"98371102f1d65aae42670a153ed68f00f79bae31df74efd07fde4f8cd9f61a4a"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 722 is called with an argument built by \u0060list(current_tool_calls.values())\u0060 (line 722), whose cost grows with the collection it walks. Python 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 debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/modelscope/modelscope_bot.py"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"241a44ec36778c32f5a41a48914eb7b7f39b7a26577bb552a584cd9880bd9da0"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 704 is called with an argument built by \u0060json.dumps(data, ensure_ascii = False)\u0060 (line 704), whose cost grows with the collection it walks. Python 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 debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/gemini/google_gemini_bot.py"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"6999978f212b50b0f63d710d1a7b4e59cafa2a33aeefdfb1b9156178d2ca26a9"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060kind\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/guest/guest.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"d070dfa7317fb3bf425e604c2036c98608181fb8e3743a0e9257bec0d456425e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060safeUrl\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/guest/guest.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05bc556b7a761233ca3884349aa696318238658c196d5e350d5b6292d7c60c9"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(guestBrand.logo||\u0027/assets/logo.jpg\u0027)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/guest/guest.js"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"41757ec84bff89f19b1a144e05f533e0075c22f376ff42991e164da47cc93448"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060src\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/guest/guest.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb599073769ed3f887dfc3098a082f66cf7a5d7b6fe74cefd29ef9d006d102ab"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060guestMarkdown(text)\u0060 is text this program did not author, and it is written into the text of an element through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/guest/guest.js"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9161ef711b044f3ce0049e02b40978ee8f96b7a1e48e20931671441e2dd931"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060answerHtml||\u0027\u0027\u0060 is text this program did not author, and it is written into the text of an element through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/guest/guest.js"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"725cd9a37e89212fa08e0d9db465c77eaa4ad51c0540c41a97f33a120c304c8a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060guestMarkdown(accumulatedText)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/guest/guest.js"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77f58a32be5130c9cebea6ff27f3bba39cc7acae3b558e9969f436b823c0e5d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060guestMarkdown(accumulatedText)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/guest/guest.js"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e551ce2ca6b674bd18aeef4e6f369d7539301c019d2bbf8f8e0833723665e6"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060guestMarkdown(body.dataset.rawMd)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/guest/guest.js"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce91ae40264f72aa6c30dd1645608ed52dd122dfd053e5e6208e60d43292d74"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060guestMarkdown(finalText)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/guest/guest.js"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0f1cea4160c0b5ea76154c4f15fa53db2a4f427a9eaa06f7f2719bdbbc02ea"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(att.preview_url)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/guest/guest.js"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8430001d03cba3cee37c87303344d1568988b053e5fdb621d291e4626c7b1a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060_ctxFmtTokens(b[l.key]||0)\u0060 is text this program did not author, and it is written into the text of an element through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/context-usage.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ce61dbe7257bfb80c2e8d655dc54ddc14e89ff100be3646e35e859a55f8dc4"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060usedLine\u0060 is text this program did not author, and it is written into the text of an element through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/context-usage.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9edd4825142ac6e9eaa199ab445d1e1736647ea13c8063e2c1ea60337da0fc5"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027ctx_compacted_divider\u0027).replace(\u0027{before}\u0027,data.before||0).replace(\u0027{after}\u0027,data.after||0)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/context-usage.js"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c71bb152ae5598e6fcbf9b41a0d6966cd8b8212db630e8123b689ecdfc3064"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(agent.id)\u0060 is text this program did not author, and it is written into a script or style context through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/new-chat.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"491d22219bf8ef7714b92972480f4b01c4043df97af788f9741ded38f810e647"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(agent.id)\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/new-chat.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"5841bb59ecfcb9bbeb5ed773a43a5d49faf56d194b34c369672e8ad452e49ee1"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060appConfig.title||\u0027CowAgent\u0027\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/new-chat.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd182b1fd43ac34871fb7853acb098f0abecb27142d810e4523326cf6a1723fa"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027welcome_subtitle\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/new-chat.js"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3df905f1f10039651ccab28c69d004cecca322dfd9c0b8d04403f3742eb1bf"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027example_sys_title\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/new-chat.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"11eb7923e0f3936bb0a69ca3b2aee4a0f0a7b6e8cf8b8fbe5250f861dc47b7a2"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027example_sys_text\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/new-chat.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"3606e16cbceffc9ab0b060b9e3b50158bb5ccb4bcf557d83d4a23373aa5cb76f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027example_task_title\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/new-chat.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"8969533fcede76b622c6746731c635589309a300b2c20ddb4e3a1baebef8f526"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027example_task_text\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/new-chat.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9db3c365b532d0a8bf6e98ac1a89020c9668129bbc42eec931193a04dec9f1"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027example_code_title\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/new-chat.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"852748ce5fab136e5c306e9b1350f8318dde29c5d3d865b2222a277d234cc019"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027example_code_text\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/new-chat.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a234a7dde90ed8e81447a52d99844e487234fd7fa758d8707bb31cacda1141"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027example_knowledge_title\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/new-chat.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"7061b962447e9c9b917a01d4e0710c01979da525f77426d687c5b30c54742266"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027example_knowledge_text\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/new-chat.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f54d6085533cdf3f8a384aa8c94323e94635a7bfe1d1fae669ebe4a48a5a109"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027example_skill_title\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/new-chat.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e68d2ca0cd412b3f2b69dbfa5420d09d2107ce0447d9e1685835c36802a884f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027example_skill_text\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/new-chat.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9a9f06420a40a0e7c9e4bbeb22b64966c00ee647daa28ae21536b37dc38885"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027example_web_title\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/new-chat.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b75566443896ce08d7752f92f0014d5cd415c60fef388761ac884f847035f8c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027example_web_text\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/new-chat.js"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"193738e9158dab36146afb45506795bd501f461f60754daef59651827d14d3b7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060openable\u0060 is text this program did not author, and it is written into an unquoted attribute through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML text encoding does not help in an unquoted attribute \u2014 whitespace ends it; quote the attribute and encode the value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/render.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcfdc8497320a3a59c52a3bf52b8b058da1b2f2a50825f668cda3321c347789e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027edit_message\u0027)\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/render.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"bebb016eb334fe027378311611e41f165e5b0b1d570e38940943a9b699e275a7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027delete_message_title\u0027)\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/render.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf6ba3c79469cc3a774e017c5a9d7e209d1dea52165fefaca2ec89a33bf1971"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060build()\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/render.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f3dbfc15473d4e3fc07ad2140ab20128c255ee22df5fe16f40bd32d505c416"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027thinking_duration\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/render.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55ede78e755c8455fa5b7cea573edfd2cf01e0cbe1274ec4ae6e85e7cc6dc7e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060body\u0060 is text this program did not author, and it is written into an unquoted attribute through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML text encoding does not help in an unquoted attribute \u2014 whitespace ends it; quote the attribute and encode the value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/render.js"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fe02d726cbc74e1722521703f24568d56ac28c352de4acfa17151f9adadf3f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027evolution_badge\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/render.js"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6d7e6eeba2d9d5f10f1324e0d76caab9717f0d084585b294563f9646ee5097"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027speak_msg\u0027)\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/render.js"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5191a72e0454eabc9869dae176fd97a764e53d816e1f8778a0be0b760ed0b44"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027regenerate_response\u0027)\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/render.js"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71ffa06308c2dc3d4f3ec2639917c2dbb25b8a5253a3c52a6761de5ea4acfbf"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060audioUrl\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/render.js"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"485a5136f40ffbba5a4cb717b7219e258bc13a9b85eaf5d8cc1bddb02b0e006f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027context_cleared\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/render.js"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"e556c69b46b99eb2e9783fe2cab5dc8b9a31770ac027475882bf6a88748802f5"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027context_cleared\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/render.js"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"9961df1f63e5e97b4c9414db7ff7979f8c6c75fbf91d372d700c98e0ac6bf850"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027speak_msg\u0027)\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/send.js"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"107a7e7813c53cf83baa96d292c686703627263268cdc5f99fa5d15038b268a1"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027regenerate_response\u0027)\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/send.js"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c100320c14faaff0e4577f8355e5cd9bb1e0d80e4dd4959fe8db5e6ae48cc7a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027thinking_in_progress\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/send.js"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f0a674e1c83f57bb86469d1d8658adfb727381d1e986879d3fdd5bf086e2dc"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060item.tool\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/send.js"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee1fb4f448a8ebb3c41fa67c01443de6848a5461509c2dee5cdc1081ce24160"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060fileName\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/send.js"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"7756da93cddd87daf819e8ebefd278f9717e34bf630cd7feda10c893472c3591"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060att.preview_url\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/state.js"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"793a17e3e73ef2f16cf5333c195ad6bfab9a8db2a999a429f1d7fc47b2df6c65"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060it.seq\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/timeline.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa4a9c4bfb0b2133fa1799216731fe3ede37e74e0215f83067b80693ac93ccf"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060_wsAttr(data.parent||\u0027\u0027)\u0060 is text this program did not author, and it is written into a script or style context through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/workspace-selector.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"9672a036e5d24bcd85da7c65c36047e660a61fac821a3f2a79c601fee729a41b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060_wsAttr(d.path)\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/workspace-selector.js"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbd52af7c046da4e624ec4c43df47da10bf92c378c257447b6852fe082a4205"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060_wsAttr(d.path)\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/workspace-selector.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada3468f52b1ff904a16bfa1bd40f755e23b785dec7b6e74b8edc67dca82c958"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(el.dataset.i18nHtml)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/i18n.js"},"region":{"startLine":2524}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4bd919ffcd48e4edcf3e9e007b941cec96d0f689701d77b7ebc8772ea5f5a2"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060defaultTableOpen(tokens,idx,options,env,self)\u0060 is text this program did not author, and it is written into the text of an element through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/markdown.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"7775cf22402e6fba481d3cf216db8f8d3e3045354755f739a678322771444aba"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060defaultTableClose(tokens,idx,options,env,self)\u0060 is text this program did not author, and it is written into the text of an element through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/markdown.js"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5bbc3d8cdd34f841725630f5c74b83ad23b17337895173b325a66b4e787b99"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060webUrl\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/markdown.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ab38ebdbaaf1bda333fdb0b27661256dcdcd5ac592a4b6b8d00d3986eaee7c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060webUrl\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/markdown.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f6ab5b61e76ebfa8b93529af45d3f1f710009a887621fca20ff0cdc15642b1"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060langLabel\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/markdown.js"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"646cdb52af7dc06c3cfbd27174d335d10501cbec54bfd89d29cbf87ee68d807a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060svg\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/markdown.js"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a9757cc84f42354b132b587595a86ca83b3b60b703bb20129ff192e40fb7ed"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027mermaid_code\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/markdown.js"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"dadd574dae2ba7b220724d8428a27f2f7ab04f83e21a03b42f3f2bbde5dc9ab9"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027mermaid_preview\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/markdown.js"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0916bfaf99e8dc322f1b5bab3327cb25bbaca75ebf8d43a2008c7ad1193792"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(c)\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/themes.js"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3c164548daf9d03b4224690a05287bf8ff3d92e09c6a5b43bf46c8faeb28ec"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(agent.id)\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/agents.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6355d0a3de5e4bd0402ea43a98692f8798feee13433502c0d24bb97d8e75b44"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(agent.id)\u0060 is text this program did not author, and it is written into a script or style context through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/agents.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c089b16afa13915a4ca8bf4985ab9dfd96fee564e02e3e14a4692af9a5d43b7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(agent.id)\u0060 is text this program did not author, and it is written into a script or style context through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/agents.js"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb01f37a79e12a142beadc4b2d8906158ab694a65fc43bade9a09f7909f9069"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(agent.id)\u0060 is text this program did not author, and it is written into a script or style context through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/agents.js"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b26dcf60c6524e541eeb49cb8117c787311a0e8f954488ec7239714a34182da"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(agent.id)\u0060 is text this program did not author, and it is written into a script or style context through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/agents.js"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ccf3347ad534e016355baec316ed5985de9eab22e673821e9712ee170adb6d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(agent.id)\u0060 is text this program did not author, and it is written into a script or style context through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/agents.js"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3d979039cba8dec01aa0c45eabf8ed73505763c1b0be050dcb726888aaed1d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060_pendingCreateAvatar.url\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/agents.js"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8f330c08028475cee2fd8e90e18cfa11b8aaf6a6ea3ee3a0c60f798ed39fe8"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(m.id)\u0060 is text this program did not author, and it is written into a script or style context through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/agents.js"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"857d5c357ea7ef3887a6a667eae9ec7c17275842543f9664493444cd3fb2d58f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(agent.id)\u0060 is text this program did not author, and it is written into a script or style context through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/agents.js"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa220c1773e87e346274ddf4b3e7a311511348aef62c1e6d61c70f407d459931"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060item.id\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f53ffcb42ccd3cfec41e9b8ad42cee7b47b8afb6df77ba387e7a9106249d871"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060item.exists?(WS_KIND_ICONS[kind]||WS_KIND_ICONS.file):\u0027fa-file-circle-xmark\u0027\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb612128cb34958f2457523695bbd53b6d13f5dd5c4fa1414d46cb83ae0ccaf"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060wsIconClass(kind)\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0d8b6198d6f7d753ae16be8902dce0c9f716684723f9e709d152a9e70accaf"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060iid\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7100a3ec7b5ce2d45002960ec2a27c06d93638ea3ad8671fddfedbbc6cec67e2"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060iid\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1612ea922d40a2986446e81e7d1b2604e79d28704c41cb47d688d5347e0af5a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060iid\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b27cf60789cc53a97411c934fd40e5e53c4c6276d18294062f43fc04ede2f72"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060iid\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"01002e68ccd92b298f09be18e7d3948b8c46c93733fca8a00703357269fe7518"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060desc\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a00b9c79b31212b06e62099e2a3d319be441b1e27d8d0d71401be0c931bebe9"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060scanStatusId\u0060 is text this program did not author, and it is written into a script or style context through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"403139977cbf7dc90b03c36e949f450e1ebab419f401c02052a14f7315d80832"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027feishu_scan_btn\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3339716e3a762b8384979431d90d6bad141c78fb66a16fbae7a78d310c795a0"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060scanStatusId\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d31362858e5419664365843db8dc5f5304ffb38e3a371c563eb622f58f96895"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060iid\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5e9137083177fafcc154868c6c5373f92fe9e0cf95fe57bc5ddbb26c333c40"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060iid===\u0027feishu\u0027?\u0027\u0027:iid\u0060 is text this program did not author, and it is written into a script or style context through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc951c28f8fba5793ac592a6900433430489067b348fc6146e7d39e1cdc9e964"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060iid\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3fd9cf7bb3ac467ddd0aedc3007c361d8f8503093cb46876f702b678c10f31"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027feishu_scan_loading\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea11ac1fcf257888228ce8de6002fb624f40866af676c348f891a79ff5a98b84"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060qrImage\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"748ad96b05a144a08365e7eca75937757470296aaf19f1213f857d8c8d02758e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027feishu_scan_waiting\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfcfcadc46f0083bde3fa7275f815e5f3b3479b55d75a971b522f4aa8b2a264b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027feishu_scan_tip\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b96205a7002654c42c815d9a1718e198bc9c3d6fc35c763da490f248fa1f387"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060qrUrl\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"63fbd9d6175a6c97a7a288d15177dd857d018a857f0450cdddfc8941f4952371"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027feishu_scan_open_link\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7881591f6370fa90a1f613c2ad4d6a7531a1c81fdee2549d3b63da0d6909f24"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027feishu_sdk_downloading\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"4166172f7c0905187d7188950a2f23c1575d522ebbb0e39a9fe536279af5cc7e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027feishu_sdk_downloading_tip\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fd6cf7d11ac1351d04340673ced0cdf994b76ae885afa3d549d24a231d48cf"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060message\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7dee6644eb3df47c588b79bc0aaf4ce626cb13e7d89e2293e2f1f051154751"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060statusId\u0060 is text this program did not author, and it is written into a script or style context through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7fc54e911497b0ed370db3889f197007c70b21d55d0e44bb394dbe80a8deaf"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027feishu_scan_retry\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8bfcb698b95d0588d93c9cffe264bf12bf4c8614d628a3b1600ed6a77515df"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027feishu_scan_success\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb9a778f6a38dd49df54dbd4fdc9d9331754bb78ab4f8a345442b6d6db928eb"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060iid\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-wecom.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6641d06dfd52e5bf987f889130b2e0c2b4fc1f78c61653f0d21fee5ad2cd422"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060iid\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-wecom.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3460e563d31a8f4c242b7f97df750aa632a428b56416198a3efea215122096"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060iid\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-wecom.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da493f1314eb3c299965f4e47616ac7a1267acde531d301929a6441dad5ba52"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060iid\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-wecom.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1715eec65181d60777c556ab0e7df73d6405176b4436e7aaa53588c4937a47d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060desc\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-wecom.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c8325116039377be9a00522b4da7340267c881f9cc217726eea4967b0ed4f3"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060scanStatusId\u0060 is text this program did not author, and it is written into a script or style context through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-wecom.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"825a1a2147f4069f3f2bfb09949a59601ef200cf0685bf11a6dc2d797a2b6db8"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027wecom_scan_btn\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-wecom.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"955e79f22c38d46a15893766ff8847c49666d9d78f872126460f9aca517dc47f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060scanStatusId\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-wecom.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60c879e1c5789b9615734ed08e9cf2cca19fe8cfb08ea06c1b740d5077463c7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060iid\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-wecom.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff559b5198163f1f3cb1ac7c90807a522710f2caf4b7cd34a8532766aae1bed"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060iid===\u0027wecom_bot\u0027?\u0027\u0027:iid\u0060 is text this program did not author, and it is written into a script or style context through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-wecom.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"6024288d3ac5370ba8739960c331c97491674bc19c515ec7c507945fcc37556d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060iid\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-wecom.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"26816929f38eaeaa4c128f751d0d40fc9f6bdbae00a0e0e2b4af8a9eef5a2a46"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027wecom_scan_success\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-wecom.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8eaa053c01b5fbb197da6728ebe31a3c1774e3ca47de25d7d00ee30f125ef8f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027wecom_scan_fail\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-wecom.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95b65fce59ee213bd4eae12b5dee80182ff4900bea3eb76cf18f10bfede3028"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060err.message\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-wecom.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"97339a10735de7d943663d2e2f4bf4412a1dec37274d6db261a9341c73a826e3"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(iid)\u0060 is text this program did not author, and it is written into a script or style context through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-weixin.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"4771ae3741337d849c8689460ce6f7a3633bb67df2f7acf8368350fce6126eab"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060weixinQrPanelId(iid)\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-weixin.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"9755a86ff421b56ba7cafd91e750ddbe4035190891c37a37e43de2068589d4c4"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027weixin_scan_loading\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-weixin.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da70e943357e1edcaf16b1a46507900e6fe8852c24e52de6bab2cb09ed42fd6"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027weixin_scan_fail\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-weixin.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"d787c467d5076ca7fe1c30ddad27b9d7d8331f42476240c2474883d06743d3aa"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027weixin_scan_fail\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-weixin.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57ca5975aa6daef58c14c3c0262c7c9d1883d6a7053f7e5ec0d85505a78e2c0"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027weixin_scan_fail\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-weixin.js"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d71998a3c32a01f6b870aefe2dfee74a8f1c4919e2adc56503b62209dc750da"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027weixin_scan_title\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-weixin.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a78b148279c0744f5466046c1baad0941aa876aa05285c79f8a018c973936f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027weixin_scan_desc\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-weixin.js"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda61f7679c0e6899603bb05d863d21b11bb1eebb07e58583884ab18bfb7b28b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(qrcodeUrl)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-weixin.js"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b69340a878231625793f864808ab8734d22554b923a9b7fd46120e7f63a8861"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060statusText\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-weixin.js"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb36bf4f9e91511ca2e64a3a376ae64c447c8eb5417f484f4678bf0d2fa2e7c4"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027weixin_qr_tip\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-weixin.js"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a479d714f640016f1f80721109b24a60cb57d7f8e1811b728625df5e804cea0"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027weixin_scan_success\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-weixin.js"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69e2fba050b976886ff32c5b37567974d7ccc56cf972bc4ae5eb7167545dcd5"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027channels_empty\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffe186163c65accabc49bb33ad70001017f9a4a1720730a87ed1dfd87a12eab"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027channels_empty_desc\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e488d61fe0d75e36f238293aea2394ea55f6a9952ae4578f30245c1d36f113f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060ch.color\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c084a6dac1b39d4445f419ae341153f8b09a0bc11c0d2797131c3c025271387"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060ch.icon\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ef20228b3d9ddb73a2493eb21deb3b92f956175ad0b9a1d3d385cf8ba0b030"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060ch.name\u0060 is text this program did not author, and it is written into a script or style context through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bfd41db01b7e28ddeee030246ce5fff2509b713a697e16c204d3b60186818da"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060iid\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8800ace803c9f373255a6656914f2ec469ad00bfa2153e584e90d32d292e83f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060iid\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ed041e67bb27b4e3aa8fe51ef5e7c10aae116d1b194bf6f6fc8711c402b2c1"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060ch.name\u0060 is text this program did not author, and it is written into a script or style context through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"41271be1d1cb8a8a3f0c8faf8467b5b85428209c9d41cd1c9ddb39c1fb4533b1"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027channels_disconnect\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3ba519e84a9b0b616b19349d8115e3347460768d07af21a58d0adddaee5b48"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060iid\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8578fa3e3649215eec8b462f6407bd0019e55747914cbcb943081e191ab489"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060iid\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"c355116a1576a3d65e3bdc9b6fd185a308127e5860f188df28515c046f1fc795"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060ch.name\u0060 is text this program did not author, and it is written into a script or style context through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d9df540d238beb49aba4d75d3b970e83c1db5eaec9bcc565372c9615f4c69d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060iid\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"757f4a1d459da00f9e3b5bd5039993e649e05fdf014e2c15611402946863e52d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060iid\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels.js"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"126129ad0a55e3d4fed027708c7eb120d07e5b78a080817d9f220afabf6b2938"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027channels_cancel\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels.js"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"f844afdfe984be0a0e00a8e9dd10fd5e707f705acc731799becf76a21cfdaad8"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027channels_add\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels.js"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd87e99f442b932893016bd63c392de98e7c283b94101303014476117d0459ef"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027channels_cancel\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels.js"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fc9620852d7649efc13b8567ddccc8d9d690aff259030ebf82565ef0e17c18"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027channels_connect_btn\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels.js"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"0576e04abb2fa6b2f71998b5619aa83696b400bbf9f1744b48eb0a886c171139"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027weixin_scan_loading\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels.js"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5fa15052064698cd1b28693815bf3176e785879e4f11ce6f957d1370456b1e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060fileCount\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f6f2dfdd6c1d2d42bcc68612ba169d9a1c3824492fb61d880a60b7828e1f7f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027knowledge_empty_hint\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"5232b9a927647129aa89fcf21983dfd1db0546605d4835ad6659d95ec37f6d4a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060colorScale(cat)\u0060 is text this program did not author, and it is written into a script or style context through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd25e1c24524e9a34d5381d38ce0a57019db7db81db5bbb0f2149a0e34dfb951"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060typeLabel\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/memory.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"995cbf9fcc49e35148b93fc6fba05817f312fe19e6deb9242b666f7b75d07cd5"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060page\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/memory.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc7a50e8bcd916282e3836d36edb4be116437300f86ba61fde56393fba378b7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060page\u002B1\u0060 is text this program did not author, and it is written into a script or style context through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/memory.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea472153b87aba68b33c15795df1cdbb2628faad877244216979f07f0837152"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060item.type\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/menu-editor.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8b0c04c7f808a6e925b3c64334ba4bb4de6b21cf85a359cbc50537ceb51b57"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/menu-editor.js"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d01c70d5cc10a8016c78c23eda90a6fe37c224213385c59d35499e12b0ed2b5"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060wsIconClass(a.kind)\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/menu-editor.js"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f26c885b53cd8aaf392b15ea4b0e9660951a39a26e340ec1e8bd524bf38f387"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027models_section_vendors\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cec85250d96f1560bc6a549f482132dd88c41b37e1854aa32d844afed5f495"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027models_section_vendors_desc\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f5487b3c409ac0daea7c39c3fb9f6bf29267ef16ff82a9ce2b0891532e039e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060header\u002Bbody\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"075068fe314dd493eccc48c35e30a869de15faf1e099dc176d82a3a2aa2cbf6b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060onclick\u0060 is text this program did not author, and it is written into a script or style context through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea88629fb80ccea404257ca226defd15f59a3a19251f8fe42f4a5eb50187dc8"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060url\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"4050b9dc896423c369c354abbe3b8bb62e3abe826dce9a7d5b7cb1d2a48333e9"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060def.iconChip\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"11eaad72162aeb9d06a2de099fd3c36f97b94c10a17d590f74fd52b39e5acefc"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060def.icon\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"438bad4b5a856253aa852ea257e03808f7d9e4f8d198fdb9896884c3504ac0d5"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(def.titleKey)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29825ec0bfbf21d615a7a35d55b67da1a675e03cea9864754eb280e8dc75352"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(def.descKey)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"534aa9c0502d41d70dee9aef6366b9adc7e6db574dbde89ae0f048f8cd88e8a1"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060def.id\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9370024137266ee7b404e0b8a3fd4c37625a94d7d303c39d2403eda18598ec5"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027models_fallback_modal_title\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c51ef503c18268799bc13bef1b283b433aae93e783dea02060b242a4fb9d0d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027models_fallback_modal_desc\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbaf3fa00ae903fb10812b706705f4faf945f0cf8f933eaeef097bff08004410"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027models_search_strategy_label\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed51cae4bb32e6b7c428aedc26b623a63cb72cdd9f836ccdecc0078d5a85739"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027models_provider\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22c04009a518b2429d0f21c7832cbd90d7face032effc8f2617e5bca6cde24d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027save\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"193fb70506306615a0f916938c57dc46ddc86f6832bd41dbc8ee65675ccdc9d9"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027models_search_add_provider\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d891eedf6f62c77d826a4c927f73e21d3e5df8f1bb0468ea3a016fd150cd797"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027models_search_none_configured\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fa4dfcdbac3066e26a658c785b97e0bba3502d02f874c6d2f7644208f40c96"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060p.id\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd66c4cb7b4dee56b6f8c12ba808c45d1e20b9b5751ef6d9bc2695ceee51241"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027models_search_edit_hint\u0027)\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8026f1a656fb85f1e208551482c3c50478dd1f389c9497ba369fc0d3f973be"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060p.anonymous?\u0060 \u00B7 ${t(\u0027models_search_anonymous_badge\u0027)}\u0060:\u0027\u0027\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"161beeff43f12b2b1a32ac7fdf962b24604b1143e998d16ac47170b084288d81"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060p.id\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"457c41c1d6de366404088dc97330445185ba97de5de1e44123a3894c2f55b1f3"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027models_search_disable_hint\u0027)\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd65d58d52d641a37aefe85b54d2300ee16089b294264ac49d22c6119a2b1bed"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060p.id\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d054a3981b9a29fb1f6a50f5140c2cb34929e820698a73050235d167dfa7924"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027models_search_enable_hint\u0027)\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fe6f001136bca3c1cfcc0b17dbfd108013741bb9405585d9fe30c5f199dca6"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027models_search_available_label\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b460e60857a120b42c655995f2f56d2f7700c95253ad3064e86ddfc4eb24011"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060p.id\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2540bd5e338d63bdd6a01f64ce4bcb8e0071b1d4da07e3c8090825eda0f9d9"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027models_search_add_provider\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7849022919a6920c4eb381fa5b8763f584bbe252665e647a952a0ab59277b50"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027models_search_add_desc\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15e7537c08d9ed38a9ca6f1e89770aea53fd613feab6aa6863da27ab51a7191"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027cancel\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c773462930612bc5fc7efee890eec3295a437487282ac734e729513c3437283"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027models_clear_credential\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f29ebe6fb641f3085c62f95c781fd609be902c9c4148b4de45fe41d57b693d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027models_search_\u0027\u002BproviderId\u002B\u0027_title\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09f2c7c69b11d55e1a689632b204d3e6c2cd195063c34471bfdee1ec6ae107d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060descText\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2745e9bdb7d7de9a0fb877558f58cd9bcd4191398a42b7554c1a5fab7e2a9e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027cancel\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4d206052b2ad8adf45d6f2eae7e42907c6dbe7b37d0031c67826a5316820b9"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027save\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7fe93cbb796530c3778630d34e9c85c97d35210160197025b894691f8cf1f8"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027models_search_deepseek_title\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee9fee47063d47a7d664da0ededee6a60fe342ec3b5562d096b3b95b8a5a198"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027models_search_deepseek_desc\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ccb5ff1b168183055956b525e77a51806629e3696ae7844d102a5a110abd9aa"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027cancel\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"6358fe3d21b9b88ed76563e6d9e7001ffe808b0d26eae6543a99c58ceb53d295"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027save\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6356f30d27868fc0d27f171acfbb7e982c1f332824874cd9619921f5b5d261"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027models_provider\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd1654536ca615a34d684b11a27299dd1c3fe2396ba4f386dafced6ee00d501"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060def.id\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd729d717a36b7ca65748f5af39e82282518a9e3389729363d71e89f77686d6c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060def.id\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fd72d24ce330531a3b186ec0ff9ab051073195aeafc1eec5ddc5ce613324aa"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027models_model\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86d32417a79740437200c64325cc0aedd46cdf88db7e0d7b47fc20a09413b5a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060def.id\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"2466ebcfa5f6b9f278d87e8242721882f49c21fab8a436442d44dcad6fe11336"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060def.id\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bb418a2ca020bad2affb830357bd9db3edfcfbd4e6c3b04161b1b23d35bffb"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060def.id\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42465362e5c1e24980c73721eb46eb2ea5c80d979eea4ae8bf3a4cb86163350"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027models_dim_label\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"51401dcdb28c54e368242b9ba6ea3f76694eaff36e39a34c189fe6d15ccf0ebc"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060def.id\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b0a57abfa211a9a958657bc65ffff87ba363a7a9e21c11afaa07d1d6c01bdc"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027models_fallback_enable\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b67a73987093a9c941939665f9a05c0817c63e8e7058e90ee9f8246b4cd1c0"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060def.id\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3cb37916489abe8d9f9e47f86da2a67fa82f82ba6f474b1410b936cfc646d0"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060def.id\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"8218a4ff2212656ef9f69438a0876507b443828d126cf4c0995b18547a436e51"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060def.id\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e5c8046eea550b9d396488e969731c411d5386e5c362a26aeb4678fa5a2734"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060def.id\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2548fb51bd52f0ce6e010ada2e9730032538020aaa5926465321008ab86484"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060def.id\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f56d3403f8af8389e6f32bf6d7f838a54fed55a3f16ba4bc3276c251d0c570"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027save\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1a8e8ec9970f57008511787e83cfe7e6edd6787737d4a5e85beeca077e4110"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060def.id\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e2cf93153444afe9a61930f4a6c2d2a4a833d541c6a7d80d80e662e3670107"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027models_voice\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1328}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c52ab706b498dc6d869e8f153f0205ac570c94b3b79b5a589790df11e919813"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060def.id\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"facd22cdeba5fea22de3a84903f5098b987e61e691a69a894359e95429f85d34"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060def.id\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1336}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4372f1cb4ea80e6af7f99864bfd0c79af2fcb44eeff137bfc0648cdcc62a40"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060def.id\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff95173bc3659165bd1f98bbdc4d8ed1c865018b1b97bece2f6a55473e229c0"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027voice_reply_mode_label\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1457}}}],"partialFingerprints":{"codehealthFindingId/v1":"06bb88d968b7e54c2399b5b91917ae37b9229f5b2458323fd03e639d1e4875bc"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027models_auto_using\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1539}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d66cee2174cd62c9db0bab31f7c28bf34b0d744d73c62bc603ded1c7095d8a7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060prefix\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":2357}}}],"partialFingerprints":{"codehealthFindingId/v1":"470ae6107da352af415a4c32a5c5eed61622c63ad950b2602e20af23a6b79617"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060prefix\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":2364}}}],"partialFingerprints":{"codehealthFindingId/v1":"a304f6afd49777bcb50266384643bd87c74d837a3b6e7d154e28809134ae5b14"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060prefix\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":2368}}}],"partialFingerprints":{"codehealthFindingId/v1":"4892cc9cd3eb481c17a90024cb57e27ecaecccf90d6bbbc0ddb394c5c780f447"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060prefix\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":2379}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f23382ed7a25c60941b5c05d5ac3640bf98a1c586f7ec129fdc8498d237ec0"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060entry.context_window||\u0027\u0027\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":2401}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cb45ac7927cd77aa90152902e5306d5f22ce4cee55a84775d34bbcd4efe371"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060prefix\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":2402}}}],"partialFingerprints":{"codehealthFindingId/v1":"beebec4b2d37852ccf7c3f243c8710669cff764a35d8c713dacd5e0cb257b03b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060entry.max_output_tokens||\u0027\u0027\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":2409}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4700e87bdec9713e188a86a5bded8e16ed1013c5e6cd7583b2b24989f556568"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060prefix\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":2410}}}],"partialFingerprints":{"codehealthFindingId/v1":"999618282597993ed92f6109385ad338e564c8518151b4ad7b3a23579e675035"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060prefix\u0060 is text this program did not author, and it is written into a script or style context through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":2632}}}],"partialFingerprints":{"codehealthFindingId/v1":"550d867b5fffd26db497005c26249542e43d0bf26fd61fda68ca57121c03b271"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060prefix\u0060 is text this program did not author, and it is written into a script or style context through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":2642}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3403a69ec0e625807b240fd7649ee908814c98ebbc6d1bbbcfe185f63aa880"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060prefix\u0060 is text this program did not author, and it is written into a script or style context through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":2648}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd9c55ec6b7a5c5db57f541ad870bf8f151d70d6907f5328de8a97e8acddbc8"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027untitled_session\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/sessions.js"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b939ef54adcb925d16b28dfe7cc5e7a10e3c3b190d44c7f304811acc8bf95d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060_wsAttr(group.key)\u0060 is text this program did not author, and it is written into a script or style context through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/sessions.js"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"7456e3c8dd9608e322ceb9a7c7dcdb3f58bc893a3df7ea1f14891a6ec36490da"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060_wsAttr(group.key)\u0060 is text this program did not author, and it is written into a script or style context through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/sessions.js"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a20cceac8bff400bfc088e3a4fd8c532e0d89c51c60c2a9e7dafc538ea7507b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060group.icon\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/sessions.js"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f2fb416bd818039229cf687b7c2d3137b8366fcdb503528b8b4285aea9e4c6"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060group.icon\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/sessions.js"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a3f89d792493f405ab287d4638a483b30b2719499aecca441f591198741a11"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060sid\u0060 is text this program did not author, and it is written into a script or style context through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/sessions.js"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bfdae2baf401b107310da9ab51596865357e5a28d051b4134b35825494f992b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060sid\u0060 is text this program did not author, and it is written into a script or style context through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/sessions.js"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"015a793315a8e886a713c06fcd7c93d96de000e1194020fb40ff041c1dba901b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060sid\u0060 is text this program did not author, and it is written into a script or style context through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/sessions.js"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d68236d29f9e09ea69301b8b6ce9fa124f07a52162ef433fada434b3d2cad75"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027confirm_cancel\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/sessions.js"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4f469f133d1a2bdb5c985c1c63225443da310a22fea6316f32c5980442d0b9"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027confirm_yes\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/sessions.js"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"b651b60e6142b6e1ecbcd394b0f7d2f5135616456c07269e6d0b3bd4ca612c66"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027confirm_cancel\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/sessions.js"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8248cd778d12f527f4c9eb9e523b17733127ab0c263aee510e6ecc33a11ae88"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027confirm_yes\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/sessions.js"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77bb8cff48508b4267949fa3903571a05a6a478fc3ee7976239193c63181975"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027context_cleared\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/sessions.js"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4bcef53483073ce19e4b5d37dfc2b1493943b6c91d4d69c3f65bfdf8a2530f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060slug\u0060 is text this program did not author, and it is written into a script or style context through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/shares.js"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52dedf6d3f4782523a1cf8993b6f92f20f4bc472f05a8e71775b16e4958551a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(url)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/shares.js"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"672f9a66e49a81267fd4cc975a99df499e797a6e7a581b6e9036d95e7a89be78"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060slug\u0060 is text this program did not author, and it is written into a script or style context through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/shares.js"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b4f6ab5b54a4ea1eb9d3612bdd2c730e07c83f5451e8cf575af7643d3acf83"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060slug\u0060 is text this program did not author, and it is written into a script or style context through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/shares.js"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"77334c871e9aa4d9e03f20f3b043f60ac49a7cde4dd5a43668aa5445917e3f2e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060slug\u0060 is text this program did not author, and it is written into a script or style context through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/shares.js"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ddb80c1f99b5da284f31a7984488b2301e57b89df63154820ea088bf406888"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060slug\u0060 is text this program did not author, and it is written into a script or style context through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/shares.js"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"f533e4d322e2b07605f12178652acc46b708d5973b9828581d207aeac22ae0f6"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060slug\u0060 is text this program did not author, and it is written into a script or style context through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/shares.js"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a5cea6100787b4f0368c273b42b7e6b478f1ffd5b50a4f3f46ba3b08262750"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060slug\u0060 is text this program did not author, and it is written into a script or style context through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/shares.js"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a206a96557434415808911730dd46d2ca85ef11bee626008a6c36daeddd8ccb"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060slug\u0060 is text this program did not author, and it is written into a script or style context through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/shares.js"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"07575ac9a9a8e49d4ee2a3222b8209331dab197e472092c598e33e8252653683"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060slug\u0060 is text this program did not author, and it is written into a script or style context through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/shares.js"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"932614fd0c240d24a8153243c8d342b3d52cd1184ee681fa7d2d5e254fa3a280"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060tip\u0060 is text this program did not author, and it is written into an unquoted attribute through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML text encoding does not help in an unquoted attribute \u2014 whitespace ends it; quote the attribute and encode the value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/shares.js"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"733d3955b64d61eaf12e00b3eb47b15d325096c57ae70627cd1d3ff042043b17"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(s.session_id)\u0060 is text this program did not author, and it is written into a script or style context through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/shares.js"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c333a0e91474ca64a1d82b1e7d7ba05cd1e7e62c6c8a2f64001b898617006e4b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027skill_edit_hint\u0027)\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/skills.js"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"4791fafe606d7910301073b72f0052c79636b7959e65eadc7f358e66ecd4126f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027skill_delete\u0027)\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/skills.js"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"922309d31a0858c187e9d2080e9442e84cc94404b468442efd151988d31c4614"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(enabled?\u0027skill_click_disable\u0027:\u0027skill_click_enable\u0027)\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/skills.js"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc7d5dfd6e3e8b8df1105452a724edac093b58bbd042d0c0755273bf3005d0e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027records_loading\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/tasks.js"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"5156756e7c178ea74242b3babfbf534a1542bf04e04c0eec00c85a09c0fd1ebb"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027records_load_more\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/tasks.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f829fa393296cbfaa0bde0a50161752f70b1a8d7c46557b1b0b6f94014322d1"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027records_load_more\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/tasks.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f064261b5dcd289e28545d6e830e399ac1c47cfdd190551a2c5b888ce8c3ac1"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027records_no_output\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/tasks.js"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"71eebf16d31f3fd6e9d052fb2665cac3c494a0e9e46a1161bdb70584fb690955"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027records_delete\u0027)\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/tasks.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"22182e37c154524a8d36fd0b504c21980ad6cd4d9c88bbb8afe309e6126af389"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060formatRunTime(run.started_at)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/tasks.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"986cdf455408ca0aa55d154e21157fa0503be37909708ab09750910bd94e2482"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027records_duration\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/tasks.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"770746ad237a22f716b5b30c207b5d32bf1455c41362e9b97bc307cd09cb82d2"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027record_detail_loading\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/tasks.js"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c0d2c2a868cbd74a9f5f32a159dd9eb3784a1ac60db4ea9a2aad5a31564e4b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027records_no_output\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/tasks.js"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"851f1b930582540f8bdee905849ac374cadef67de0de6dd41502cd48c93c7039"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027task_run_now\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/tasks.js"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"674aedf6d6b5bf81461f5687e2dd9224e305507662002d29ab81a03574089f2c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027task_run_started\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/tasks.js"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f289a6474744d622667dafa7b45e7e7a95a21306a29f054db1f01c53dcdb2e4"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060originalHtml\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/tasks.js"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df5b98d5acdc818ef9efb1f487308315dc310a5e967b11f31cc2b054ba23c56"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027task_run_failed\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/tasks.js"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"a717ae862904f1a08231f84535a7cecd70ab9632fc4999c1033d7798eb9345ad"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060originalHtml\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/tasks.js"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ead6e08bd9a9d7a23bb40447c75b1c7694fa933445ef0e9ff461d862cf1123b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060t(\u0027task_run_now\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/tasks.js"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a193d2ea9ae8f868c15e20f26885ecbbf932d4ad5a04408fc709f24eb4b4956"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060toggleId\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/tasks.js"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f6fae3177942debc9829090988d7393d7b3cbd32f08148505f4df4c1d38c95"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060toggleId\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/tasks.js"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"5438f9c1e7c2ce5e0cbf5ae4da58e72ecc41fe8f743b42e601fdc5548d746820"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060icon||\u0027fa-eye\u0027\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/workspace.js"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d44143da42186400b9d66260d0946ae86d91f2ddfc25cd3da8773aa4620e1a6"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(rawUrl)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/workspace.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1fdb9ed9bbd4215e69820bb335e35e92573e7c323fde1010e332cdb373808a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(rawUrl)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/workspace.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"51984cce8897007b6a6fdaa10d09b68f318ec05a358654afbfdbd666819e85d8"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(rawUrl)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/workspace.js"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8dad1ad338a18af1eb7d3a0372b7212f4c59e3cec4390babe26d6f42dd34fce"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060wsIconClass(kind)\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/workspace.js"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e1640a50b6ba644e9fd908f733b00cfb1e096a6254bf45671c5b48674881af"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(rawUrl)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/workspace.js"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b686e4a5d9319824c7fd72eb7bfe1041668ea10d83ed0cb55eb1b3d03117bbc"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060wsIconClass(kind)\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/workspace.js"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5f0ecad6fd0419709f9936f01f0add9ccae7f95be00d163a5614a98434c609"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060wsRowAttrs(entry)\u0060 is text this program did not author, and it is written into an unquoted attribute through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML text encoding does not help in an unquoted attribute \u2014 whitespace ends it; quote the attribute and encode the value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/workspace.js"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"360390167185ec51a021194d971c19fbc98f26a2daf8dac59daaaf69c794e00c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060wsIconClass(entry.kind)\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/workspace.js"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0df1f04263a28d89d43264f3612216ee9adedde58904a653cab86b8435d0ec"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060wsRowAttrs(entry)\u0060 is text this program did not author, and it is written into an unquoted attribute through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML text encoding does not help in an unquoted attribute \u2014 whitespace ends it; quote the attribute and encode the value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/workspace.js"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"185124675469fa8f50832d3cfff083263d8fe6e1ff80486003cc28124359699b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060wsIconClass(entry.kind)\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/workspace.js"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f29a1bf9bc5643f03213402c1965f3b1f9a3328ba24c9997355ec7cc241a3f8"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060wsIconClass(item.kind)\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/workspace.js"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"3596619c5dc78c7cbe83aaa74fdc9c45c7e3e9d3f297cd5d1e28db0ea3c3f53c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060highlighted\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/FilePreview.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7d437211615c0682f419723bf511058fb77ad6cd5753bc07c74a57491db5ba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f65f991482ce798cade0686ce4aa8235f65b3b432a2adf1cbee4e8ddc2fd6b3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ef20d056a3f02a5c764a436b59931f123358d8b81ad8e654831508e61a1a4c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0fa5d7f99533bf768e4fa81983e243fdc25f76eab0427438468a299bbef83f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db7878ba0d37415c66f52c52adb9434d4cc883ddd266b290a27e6176feaf321"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"0949fcecec5de940b8d30639c6ff67a52f23e6a5cdc15fb5f34fd5c8f3658456"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"voice/zhipuai/zhipuai_voice.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4556adb83ed0d60c62495c31a11fc36a6cf2970f5879e285a07591a9e401973"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"voice/minimax/minimax_voice.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"171080d002b74e69a7621e11b97df58ee87587090f6c8529d62d63bc704a7cc0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"voice/linkai/linkai_voice.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1887c76b34066c37097df44b911f7642f56500b5fae3f04063aeaa543ba660b2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"voice/linkai/linkai_voice.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c540df3f5ac33f5d1223e082b11ed86db8683f312f8a9492b0c2a22637773cc6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"voice/dashscope/dashscope_voice.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c1d6069df227a0a306bc2c5e81b1eecb2200c669bf7ea0c0b97b9340e1352c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"voice/dashscope/dashscope_voice.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ed2cec9ddce72b4a16497f3a6359e1ee5006d628d796b620474f8aa992b627"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/image-generation/scripts/generate.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d081cf066d93d57a7448ce5cd914bc271919f3e285b01c54216dfb226f8584"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/image-generation/scripts/generate.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3765c7cfd6114b7066efdfc0b3d7eeef03dac60f8c0175b18f620d1991fe2e3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/image-generation/scripts/generate.py"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"d991c03bd97569cee83727246bafefad95798ad1b7a6fb33c455140dcbe2b927"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/image-generation/scripts/generate.py"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f76a187c7a961e394c1283457a803d76a232a5674c91084edd1c159be4a390"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/image-generation/scripts/generate.py"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"893be658380fd303636969b31bebba1c325c0dad948b8ed3bb15e48e9aa1d582"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/image-generation/scripts/generate.py"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec8a6eb3347a4d8f6306e5ecb506511ffb724cc4083d8e6c36ca5cf060ef5c8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/image-generation/scripts/generate.py"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"3685b0aad76f3ad4b59b96250c2fb975ae16a7b85aeaac8e4e79ce8efbedf716"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/image-generation/scripts/generate.py"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f63ec5a942fe82369217c4655797060aca0760888b5fbcf1257f970c639ccbe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/image-generation/scripts/generate.py"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"9842e9a1fa23ab55f925c28e7c1e6595a87bb2db8cdfe494ed7ad1999e42f2c1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/linkai/utils.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9caa16660a31e88275779fb405f99f1428d9e33ceafff561ca48216fd155eb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/linkai/utils.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b03eddafbc3d8aa8b15b8d11824d8ebc29b7bc0c814497b6adf039207c1bac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/godcmd/godcmd.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee41bd3e4c7e225a24d32128025d0a4569deb22b3e76b18491992fa70bdadb1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/godcmd/godcmd.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd67d1bea1a88c46e8241e91da3462b9a04c1d8431bed7b5320320bdf0bfde55"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/cow_cli/cow_cli.py"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"92add1633c6232540240e2d78e71a3665a3e47c978196f3762230636250d6444"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/cow_cli/cow_cli.py"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1be9c4cf2b9edd426f6eda1a22db101099147590c003f520cb0b307501f47b9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/cow_cli/cow_cli.py"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d0864ce639ff99d37b57389c56d3d322b68d2735baff1e1836beb33292c1f5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/cow_cli/cow_cli.py"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dbedf20473a7d524564edbdde0f688fe05de0722204058d36d15fb5344a29c9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/cow_cli/cow_cli.py"},"region":{"startLine":1829}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fcc7e4a36e29ab5597bcc60acd536f450b2bda8ac209f71d1c56964004e1455"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/cow_cli/cow_cli.py"},"region":{"startLine":1845}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83a268c50dce08b45ca268a4373e96b7aa4da2486ad53e4897edc3af7cac798"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/cow_cli/cow_cli.py"},"region":{"startLine":2049}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ace697b6399bf64676249033702b71abc1748659af8c63ca4b4cebe1fd4f6d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/model_catalog.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4252201718faab45e8aa183671452490ab12758520fe68c6bf0ffd54f678b4e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/model_catalog.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"76cf7b918de7b4a1ff51d17d97969d217d008d589fb02cb7bbf4b21bd9cc84b7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/xunfei/xunfei_spark_bot.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f97cb919dbc9c8921501009d2e6e1724c34f92b833d4a00825fa8b43c0b1f8d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/openai/openai_http_client.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2efe962620fc188c03a226cc11dd9f9599a4b796a40d20db5b830acd952e73f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/openai/openai_http_client.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b47807d6606bb65d11c6c9defb893545aa25123d285664fd66779879b44cb39"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/openai/openai_http_client.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6e313aceaf5c14b9e958c0d68258bd11521d9cb96649e35ce767619ae865ab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/openai/openai_http_client.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15744373e26746fd33fb1f8c372ca3718bf78391fa4385d2aadee2601d275bc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/openai/openai_http_client.py"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dff055f5d1bec50a7556d2db0a729a625e1de0a1a67e4d961cb83d61beac01f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/openai/openai_http_client.py"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c3c9b73ba7422866c5345e786afb4fb843a9baafd62e78b0d79bee597053eb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/mimo/mimo_bot.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"433be90881c47ca7d96ba173b965603af35b6c179fe3ad34f98d41cb44e99234"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/linkai/link_ai_bot.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7adea08040c80a778b84488fc90ffc63fe28dcf62100f4ca339ab7d4bff081b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/linkai/link_ai_bot.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b9b9d35e41fcffda736db49ec1e3ac2133918a03de94829edae53d0a485ee4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/linkai/link_ai_bot.py"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b6634b685a7a05e84cedad4ded53335fab0806cafe607f22bf2247281b9470"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/linkai/link_ai_bot.py"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e4382ee77a37dfff2957e72f71a068cba7f6081175345881bbbf23135cafff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/gemini/google_gemini_bot.py"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8f385e2704ed55e10ed20f14f63d5929697009e1e13aebeffee9a73c0854f8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/dashscope/dashscope_bot.py"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3820b87995670e0198a6195e9aba164fa8b8820c6db4d5d9216e5a51160f83f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/claudeapi/claude_api_bot.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"915e91da5342d084ccf05e3e5866a8008beb8dffb63a30885c46153a115c78c3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/claudeapi/claude_api_bot.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"434aca86db6bfc9e810268d50a3a20687ac938a9acd11149f6f2121da3a6ade0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/claudeapi/claude_api_bot.py"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"96993b2a4000e9924a55fad50da72c842a27636410ce2bc1b754b8ff073e1de7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/chatgpt/chat_gpt_bot.py"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"777eed6681749cf8d9d95d25b1bbee18a0871151e1de102a13dfa0fe5db7d0d4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/electron-builder.win.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c53e40c3e62db8878eebdb9e80240ae0337f69c1923fe810e9c6a11f5983735"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/App.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5336c30465a06381e1458c918c8b17c1610cb9815a06927b563b4cbaf525e8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/agentStore.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"02bec4795853da4edf2d3b7e9575a2402a3ac614379a74593b46c5acf9105bf1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/agentStore.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74de97613ed0499ba7287fa3bc0ad7bc2767df1472ee333a543f68e4174af6a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/agentStore.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"620f4f6e84ded5dd4729c13ba07a5c80dc8cf7344e23b1bd54566d072c6fac0b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/agentStore.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e16fe6fa9592c4c2b2219139a5f2567615a60cd68916a6a0ed0af49efff1f6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/artifactStore.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"069dc260331567af6408a26627ddcf7e7fac910d93d408fe113e9d50d370413d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/artifactStore.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"632252d999d0446ee069317a6c3cb29d3f3897e44e0e9b7ca5d73f6e83a6d0f8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/chatStore.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed484e80608c9e54ebd9454b7e16f2746023b166be88f37c197dda1c57b21c88"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/chatStore.ts"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01339f616b475335514493ec1a513654a98fa8f99d7b718f5a2417c02d0c596"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/chatStore.ts"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"006810535a9237818471cefb6a36a6bb69693ed4091d71e4c9803d0c19c617c3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/chatStore.ts"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"3707f376f907682af95a8ef463f9733fc293f0fffffa3ee34932aa252a674e53"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/chatStore.ts"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b0723f1d771f93a43accc671bac5686b67f13c199d69d4c9d6885e18d71b34"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/chatStore.ts"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a6f409bff3faa9303dbfd7b7de622b6d3a6ade761b19f6905a7dd75abbece8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/menuStore.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"474e6bc4a8e7994d2fc8aa37ff83051aef96f1d395baab0ff41c88d312881644"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/sessionOwners.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d0f3596e1b7d8efaec5d04002a9f8904a37c6dc1678ee4ab3529243b99afd9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/sessionStore.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7c68e81ea58e32831083fa89f10310f325ce9a575158690e6a7bb117a81120"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/workspaceStore.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a023ee6ca7fd647d9dc53d435340deba36916cb99376e06f978414b1741622a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/workspaceStore.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a70072f92f21c62e91b7087632c975356fc780f24d064cb49ea0a2e00ae1e6f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/AgentsPage.tsx"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"e675d55ed9345510453833d6c62be64abbfd9c40102b7b2407b6fb7d427bc3aa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/ChatPage.tsx"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"625d23f4df7c8e42f549681a30803a52af0558910976ef93bdb8bf826842a4eb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/LogsPage.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d86ec2f0f44b62982d890b2fff824fa91f8a73381e2bd47bcd1bd9151037d1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/SkillsPage.tsx"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"1816b6e1534e5ff932b35b5f68e19af1e0a69f62653e396e912f243974b425c6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/BasicSettings.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b9b893b5f69a79265136ff6cdcc207116e2ca6a356a46f698d8232659f00d2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/BasicSettings.tsx"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c10bb151a7dda0509dbdebe50ddc261560bd324e2df931ef50a2309cd571b1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/ChatApiCard.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df6b6b2f73c95273f552bb6976173950e3e23af1735245a99940bf7896c0573"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/ChatApiCard.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f74e9d940a82663bc980b88a0b78a18555d65785e194537e55a50bf8b2cd5ef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/IntegrationsTab.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe25a952f58f58d7b396a78eec595bad2083fdd01691cdaa15c39e99e991db0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/IntegrationsTab.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b133f8810765d652cfee62d021e04c492701723d65aa8e21d38b0e640891d0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/pages/settings/shares/GuestSharesCard.tsx"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"84396122b0f6d85045733d8ad5632b49148530bf54c1217fd962924251ef16ff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/lib/fileKind.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ef935efe81ee859591df37de35d9fec643e52048d54cb608e884f0ff03c236"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/lib/newChat.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3471b53505b4041477c292005ae3a154d93bc5a91b78c8531aeae2fdac68f9ec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/lib/taskNotify.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcb6bc9e4c8644416b3ce7865f0e6a1ae5a10aec56b782b927bec671d1fcf16"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/lib/taskNotify.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9d36c831a1a03482f6ff6453a0ff2d6bc97c0176a7124da110d399443fdf46"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/layout/NavRail.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"df06a9d430832cb7321bc8c81d5d43b88fbb9edaf6419ae11c7b99db472acd44"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/layout/SessionList.tsx"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"1058f4d45793c273491ce416d6d3416862dae5fe9d45a531d04a2777f05d79e8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/hooks/useBackend.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"6893f5305d2ea3bf70dd05e90d70530c04feb59ce7f237f553aacc4c7ca6419b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/hooks/usePushPoll.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63e18e7624343942f2bd803d77cc2d4dd6ae5f9d082212daaf52263dc2affa6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/hooks/usePushPoll.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"365066a381d457fad693d7b8f3f325454928f89c0e60d95b1d3a64a90aab0863"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/hooks/useSchedulerNotifyPoll.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e1ea99af9391bcb7370511c2b33965eb260367bfba5bd5f4ca1ce4c1d138e9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/hooks/useTheme.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e69d7c694af29a5d5bf2f40597589530ba84b1362c85ebb23a783789045cef8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/hooks/useTheme.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d7fcafd59826df9568d432e9600db1f63bb4082ff5e1b06d4ecf81df8e667b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/hooks/useTheme.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85d0d5f41b834d54fd46a60249104e54f9399d0d5ef57f8a69ac4f1db4d8d65"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/ChatInput.tsx"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ec18367b12c04dc9ff2da656ef9154964b453dfa3d1fc5b0733219be5ab167"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/ChatTimeline.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"54766eef29a7d0bda36d66d20cf2f5a918cc0a0e6ab57997b7bde77a03b06100"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/FileCard.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c11ac7393658ae559a21234ea7a41ef6811dab9dc3c33d4570625787af8126"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/FileCard.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bca808894212aeed24f86cdf7250bfa993b2d4c70471405120c1531f261e888"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/KnowledgeGraph.tsx"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4460f288855951a472531d5e48c9742f9cbad2713cc34222d7330849dc57b1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/Markdown.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"80577ca45be5dc1200ce0b4218c954084cedcb424a86e80c871105fafee3422d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/Markdown.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e420eff1329ebe5f279d10d2936b5455bf912a1ed71872d65c403e8fe7ebd2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/OnboardingWizard.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa43c6880e9901bc4936861a87d24f187204beb942cdc324749dc41db4ec4a3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/QrScanPanel.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1beae535d40e52b2656b2adcf226cf35e5e2470d8b41ea154597419e02ca0a57"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/WorkspaceSelector.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b05ba621fb40edd53fd530a30ce58dff60c46a2dd4c055e7cb61f408518fde9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/WorkspaceSelector.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a0bb6050eb9ecd22ae162d83d9c0c53d52e68adeb08591431863deb118b598"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/api/client.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"160a3426a2077ed44a54409c556c9813f14534ebfb65bb79eaf1786055b80c37"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/api/client.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"465c11de4445b9efe6b36b2551405d2bf479cd99e6aa7cecb7507c89239982ca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/api/client.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"7296e0c84c46e209b8f738c9cfdebf149a138744a423d5b87b9d15d7e23125b2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/api/client.ts"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cb5c6fa5e1f3fadc1ad0921c59b753b6d71c6276c680eefb5ee9b2d372d474"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/app-icon.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57ccd1a708a6aa16e4b3beb35429fe0d07d23633ac3eb59c4222821edaae9ed"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/app-icon.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"f292114475d0c8ec09842c9743842d2d509281267afaa6ac7c309a15650c74e7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/app-icon.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab90e383f55c0f0a035064c778a220b5103328bbcfc88c3e830a78b7b83b873"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/app-icon.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f0841a28deba05ff5f9cd58d3e5a34619f02d7c950302526e83e71b043aca2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/app-icon.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"94daa406e178f54341b789e31107aec274b0dcfe931afc0acfbed274ed6db6e0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/app-icon.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"467abc89ab6c2c6dddb24ffbdbcbe1bb4312688e07997246487bdc3614e19769"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/app-icon.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdb29b3b932596f3763202748ed1f0a434b5da2da9b4b21c5c694a075f38170"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/app-icon.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1cf33227619530998fba73c34cfb5894e85f1bab267f8bd1de38b4d51d9a29"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/app-icon.ts"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb963c52503782f99392fc8730b859ed35f23ae510ef45d92d7167af45be4b3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/app-icon.ts"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3d9fa218b5571437332ba2d558e45a33b422ece44db176dc8cdc2629f0d124"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/app-icon.ts"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"228af5ec45321c7a7cd6ea56f2c9626c46217521013bbe7fc9345b8766875781"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/index.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"16590919ac749f349dfe9f91326844a3cfc4559472d6518444c03514644d9fec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/index.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"224e6451f287002627f501cb499c982a5244308e84f61b229ecae5f2a796fe01"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/index.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a767905a53b9d41ed9e3e986bb54a24909cf20e11785ce24be1ea5bab3de0035"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/index.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b12b1680f94241c7af450414433ebbcff541c8282afc11c5e3c5a85ba9ae51"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/index.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5779f63696a6dfdf0b2c5dfbf7cfc0d690e1ef3eec4f90e5c8ddbf8d33421a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/index.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b5468a48d0fcbe4d5e6c3770363c98e8411d5d9a08a58bf201bb9741753a1a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/index.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"742786cfcefcd4e6f2dd4f19e15bc2508dbdacaa6236d7708e358386044e49cf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/index.ts"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"300cde224b60db0dcf793f356f8f93c1f7137eab5e4cd352184bc7d39ad0cbf5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/python-manager.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"861c3b3f3ffef14c8ca3ba26c93715f9269a4f24b5f248fc9341c975abd8fe4d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/python-manager.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"349863d3b560e812c6d6c4648613b6914aee19f788ec35ca7b29580ba015d4fd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/python-manager.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca92cae4e3e691d0a6e90da7516cd4dd42109679b2d91ca22b5c24a22cc5bae"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/python-manager.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a32512eb8d37fae31c527aa1e9c9b0c66ebfe7a8d777baedcc187b3f45321c6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/python-manager.ts"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81cb6f52a3a8d4638f427b914a3b8840bf947a9a2adad781f1954a718b92507"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/python-manager.ts"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"847f765ad871dfefe7b0d2b4cc89ff0b5102e6ef66006e122926f6c9a22d80dd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/python-manager.ts"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"46665ea65741305290daa9c3e993d98aed6f4880e158d0226a72dedc83ada15a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/python-manager.ts"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8bd2461ce02263d60867e50d6dd209434ea126bbfad421bba0c5eefed48911"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/python-manager.ts"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bad1fe0591c4f7715c463174d7d0f4e110a0b800873b0f3e1fa838a1f75991c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/python-manager.ts"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2130dc06742cf47331e0f3cd6ffaaf555ca9b813a2bdc38aecb3900af7f768d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/python-manager.ts"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ea03c1fa15eac529b673632402eb3dc405293c56d26b96afd80aff1d878cc9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/python-manager.ts"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5744b3e769395ee1f2d4c1dc4c595700d1d78c09f392cc5b42a2aa864f0c26"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/python-manager.ts"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafb4529dae1979af5cb1e4a4cc03ae0394e120afd0ca78a2be336c13b2d0735"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/themes.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe260f28bf4234968bb93bc928cd4341df3d72febbb38db245718672723ed9b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/themes.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e13f55cf933c559c258c17a3477f22f78f595b038cd63ac3a1df38ed042f3a1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/themes.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c3125148d64869da312707a285a0506ba1569f3babd600c82809d98d56755a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/updater.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d64ed79affc8b68b4336098f9c9702217ec32d63b1989a8be1b05333f2c8eaa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/updater.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a0177de87520b7e56bb6cac2702407f2a16c0d3c7ca0987c0749d1d719aa19"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/cloud_client.py"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93bba69e92765627884356738ba84d4e247610c492b4ed9781cffaf1c673aef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/cloud_client.py"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"094e25dc5e25d4a3f4a5dc89b78f91f7b793714ef220c057cdef758a08a145cd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/cloud_client.py"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6197b762787fd720f392969a6465d0043b1649db844c766861d6dc51cfc13f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/cloud_client.py"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59f937d1ee164781a6ec3f2f133e02db930cc809f5b5555b282eacf98594f1f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/cloud_client.py"},"region":{"startLine":1576}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f6f1b010194ca265aed35018b614a00f85a2bd667c09c44a3510e94be01d00"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/cloud_client.py"},"region":{"startLine":1605}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09b09361d90a6d66965d11bad89208811ab4d69dc8d26bc34e63801bd62a842"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/cloud_client.py"},"region":{"startLine":1979}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b33b32c52317af9432c16a03758b0d9d1c054f360110d8efe3b54420d39ca58"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/i18n.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"8184f082f4cfffc0aa0c48ef7a8510ce45916c6bcb7a8b5ccd13027b9fa748b5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/i18n.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff659b4ac44f4c24fd4b22ae7bcb3f181e42d03c4d7868a3840c799b13d78b7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/i18n.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a843ef17ab950950f351d5b714e00b21628849880a2ee7f954a7ef1ee41c390"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/package_manager.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"be42eec615b2a26c0f872e88eaaef2fe39c24d31cda1a2a54a7064dde213a117"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/utils.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77c03420dad367aea4fa97258c9f28cd9baf20073d777cf450882b091f3a580"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/utils.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a97e8c6126f0de023627f234551b3f110c26f7a6e763fe6ec7fae15ce56de9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/utils.py"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd1c4f92ad1453d50fe9f8abcea979edb42858f3336473900bd99cbf675a15e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/utils.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"328b7deeed7252ba5846c46e6ce3cd89fb2ca961259e21acbb08f566edf7b2c6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/utils.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"2223d44e4a300bf46bfbcc0bea5846759f632348b01d1cbb6b4f202a1faf7c7b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/utils.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a3ebc60cc0516cb162b2b906bfa36e93e703bbadb23c08c1bfe76e6e76c479"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/utils.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73700f005c53a1f332e4f769943d75f4738464d5401b659af9accee6b596439"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/utils.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a1c73500990fc7322d7a534c64f5a6a83ae8e2c5bb060f83f895e71d6f3c6c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/install.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"22727f660d7b1980a6d631326337c5b1baa330f2b141859b02562593c14d5b2c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/install.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"202c5778dc95e4a7806f69845179508f5569f171567a8a6ad2d8d6a3319c1c7c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/install.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b77d586b9f419cd3316ce8f92587fd5ac444f13b85dc6538a92e228bc34af9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/install.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0522eee63b3ae75ae75b7aca8a2e0d720068012b614e1d58bb96988ced26e7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/install.py"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"096ffc16ba08c0a77beac1b9526563171c2bf80158034a93a0bd76a77d3e38d5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/install.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb6524d473d43df999020355c19ce92d969cd4537a1fefd8cd6c961b0aa00f1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/knowledge.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1ff60098e579a306d4ecc4eed3b25e1d031b9b7ffccf28172adbf66fd4e188"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/process.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e4fd748958667472022c9cdd63851c858bd025e7154fb5047695a22d9bb56c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/skill.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa9d7542e6a89364916ccb3378d53cbdeefc06cf2d7db3449d15b46d9a2d0e5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/skill.py"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"13026a0f8eca25a0160af474c7f642dc59b2fc9d1a85c0be3781a660323ef198"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/skill.py"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3907edf3909a21826a08f88527aeda4981a5b27fb1ad689d69709136b7d515"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/skill.py"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c33291ed5400172c18e461ca6dd7fc8478ae74c81bc2ed1376775958f416138"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/skill.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c60f557f07c79a159054d9f3dbed352bc9ea6d9c5160245a2013a0a77ed367"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/skill.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"781db2793a244a160a113630d2922d522c3acf75497ff26e5a961d27a3b071fb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/skill.py"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6ec09faf5ec7d862b13955f0f8b0204b3825cb1409715a00e1f7b5d6aae32f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/skill.py"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74400170fb7f36bb518eff9d97de860e607d9a9f1faa49b21056d23dc8bacca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/skill.py"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb0266c36f154cc999d09c6bb9409564218fbb33f4402d2ee17b538d667b873"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/skill.py"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cda76b5d58a86d1c5ee34158765ae096b6d537e29cbc3e77c97bf0c953e7b0d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/skill.py"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ab3501416c105bcaebad823df157a28652a476e2b8146c9c148d43f479b21b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/skill.py"},"region":{"startLine":1726}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6c804316af47358f6e8b1933c9fc78f47ad9b8ee645cdade95d5bb51491d1a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/skill.py"},"region":{"startLine":1733}}}],"partialFingerprints":{"codehealthFindingId/v1":"77afd1d7c6c2d2c1ca1e72f2ed90bf244852b14466650a2c8c04bc4a91aca70a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/channel_instances.py"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"980ca5249395204c78e471174ae953421867f6c53811cd59892a23122d243dbb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/chat_channel.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0eafadd6d3f4e36f2e90a376c00d92136a215ce3fbe37203b1a6102f9efd5ff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/chat_channel.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6f1c074c6617dd87d889d72a171429ae95a096bcb4ed98ebcfcb59ed13a049"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/weixin/weixin_api.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bcae52f0b5a49bf5a6cf66b1f3db4774a61d54ad7e6c795deecbab323889b5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/weixin/weixin_api.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c9ae67bc4eb0f5baee4817c59e75345afaeb652f8389c9dc4000629a6b7bf1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/weixin/weixin_api.py"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e639ad2c6fe00a073c26c990d6d682fca7dbffad8151657222ec2c0e93bc15"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/weixin/weixin_channel.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5717902260c82060862aa9f87d558d90ff1c4e2ba001e1f9a484789d1e0816"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/weixin/weixin_channel.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"b407348bf12b44721dc9f1490b4a003800ba988da7334e9da4dc96f5d0408bf5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/weixin/weixin_channel.py"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93e1a6f5c38e7db84f172faaa39fa4a1d50b5e449613eafbea777ffde9927a2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/weixin/weixin_channel.py"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"0613b37de6362f77d0ce1cdd334b2c9356e257d4b35a48d5d2dd44a8e6cd40ff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/weixin/weixin_channel.py"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb1e6d968a1c835c2c9bb72f78918329e243a0b297fc02b9f241c71598e1cc8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/wecom_bot/wecom_bot_channel.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93558387bf81476175335d00bb0275fa91d8faa45f6e6563e80163ac434e81e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/wecom_bot/wecom_bot_channel.py"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3ef6893dee822ffa3ac5a6e295bbfe9eba0b56a8786efe8777403b1b034408"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/wecom_bot/wecom_bot_crypt.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6edb05637053684ca91ed8fbbe45ca2c69ba0abee473db1ec311313a12c56f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/wechat_kf/wechat_kf_cursor_store.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb55aa6a939585bc5de8a4972dee85a4aeaafdea95ed5a8cbd56a3119d9b6473"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/wechat_kf/wechat_kf_cursor_store.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"45125899c5bbc47013e8979da9582912bb9b3d84f919c4a57518dcff0c866c4d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/workspace.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"efff0de7af3796d98549d69bdfc2bb48bfc543fd7948182453868ab49d4ee3d0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/workspace.js"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"8106b369e372378475c65d3cabee5f0cee7bd1a771b3182c4f7008748e5ee6cc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/workspace.js"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51ef0639141753339807445428c8779f7dce19bef940f920f3e156d0d8af4db"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/workspace.js"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"edeaf4275b9877fc3dc7d0a023ba201ffb32cec3e1b32af8a6058f98ce84661e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/workspace.js"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2243f83a3defe0f6eb5621620ba405fade33f3623002bb6f82d6adb8f8429c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/workspace.js"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba5a00c7b98871478bdbc6ee41eea650e0cce82db80e7d4d88a17924f44defa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/workspace.js"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd07cfcd9e9e9114bdf22db1698177b99ec5346095b7d5d3acaccd6476b80de"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/workspace.js"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"070ac1281ac701610dfd7b8c1cf64b8399aa228fca7678e85db2d847006358c5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/agents.js"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"796b9ed4ca6d1905da6ba87ab9a6725f95797b871bcce70d9ec5a4c7fd1a070e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/agents.js"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6dab9e510d0b99b4133d2445a1b9b0f54a4d284c90e7da3d50a09d7b6ede87"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/agents.js"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a6c313bd400a9869f2f01cdc33909792c3221c5ae3f5c3b99d86856e074e13"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"05dd134092e8379960435f9435c4bb5dbb19b7880b8cfd48114127a2c6b35cab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"3322f4ef95aec66d3213d96077c575f73637a969cec0d07f4f60b328c049458d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e95649206a5d4d1be4c3adbf1c24cdbbb06f92f81147239e9f0bb559cccc7de"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"4818a6798f678d2312d95d48dff7e22b6d3d5e096fb3bc8de27d7079b2a0a928"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"272eea86a9facb1b4237b50fcedf96e6d778b0b3a7da6731d8cda2e0e02ed9cb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"570217a6967f2428e85db3ed776a2b6b92c44bfd7c2894f3ba169db1063f38fc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-feishu.js"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c3a7d758f134e24e3451480fcf6e1768bc75f869f6870fa66b107d2cdeb6fb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-wecom.js"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d78dc99ec425b87f8b10bf69ab645cf4054a1989e9efcf94e71458245490b8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-weixin.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62d04cd9b1e60b55dc746156aa02bb960db9267f14ab3dbe6d5b5f5e9440366"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels-weixin.js"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1b6b8af11dffeb02e3abc396a768ef9b8e17620821e1f75ce0606ae5f8c769"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/channels.js"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6ad3599e4df1636887f735c0f44b6f84a55bf24785f7b47d3de90d695ed625"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/config.js"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ae89faba2f75315c2b5026b13dfe198fe86de48c6e78169b3d601cdb5d07bd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/config.js"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0dabc8381b46f009c3ae4df95357549e67ed057cb2e9c99e0859ac260be55b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/config.js"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efb26b20be21f67b27f648d1035aca9f11385184da2bbf4ed217525fbb950c2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/config.js"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"825aae52868ca98a5fbff86e231083cd6acd52fd6a4460d7bc5d071a16f7b85d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/doc-viewers.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d7d3931ad7f9f44952d8b7d8fdbd3153125d545bd0d8a1563a29757c9e374c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf5b5596b3bd29dbb3c2063bdd2b3a9940eb459ef41cd7b87b9f3acfc3b26ed"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/knowledge.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5557753b2149194753a1fb9ce84a535af9ffa33c5121e980ce7647667e843d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/logs.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5101cd2e209ae7d223d7d58e94312db6a164854c55951f99cce8000fdad38b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/memory.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e247cd264b3071acefb699742d88788042eff476bac17d2dc70d96b8aec30aa9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models-custom-provider.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b12d795f27256c8a2fecb25f1e9761081c8b056704638d49c89bdaff42e3857"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":1486}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da2be1eedc2522fce284d26850e20b705ed7441109ee857a5edea6faa3f2714"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":2875}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3b741543245b82aef181316b6e13e7a3eb529fc2e87ef30e8cfa234333fbb3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/sessions.js"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"be22f6e7c5c2615b0ca9257e76f07d2dad501427d54e2d91123165e9573eec66"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/sessions.js"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0062e9fa57ae66e94a766f6e151c4d32a6ae3e2c7e5c61e0e33d4c89edf621"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/sessions.js"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72642b07291465763c47ac2b7e2bbcb07387fc9cefeab6937e52c4ad0195cd2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/sessions.js"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"001a747b9b30acac1b6000194d18131548ca425479e9646b2467df13b0cc8183"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/sessions.js"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d98d5b52914ff2077659712c9addf0cf48774e414adc02a791ea453759190f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/sessions.js"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff48178669b71163bf1165c9e64e1e947d56f5d53d6a2f989b4055be92464a7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/sessions.js"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"c502fccd882637271c839db653bb2d0bfedd93e26ea3ba79a3deb44bcccd7f45"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/sessions.js"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ed55faa9110fa5b2e7b9b07f9482fd1f83e3cdca3cc8a6e75de322095ee6b6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/sessions.js"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce0ecfc4eeb37e3282bbda80204f5311d5c4c5674aa5c249048d6e91a9b45f1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/shares.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2d365ca28124df9ea41b4070f17a758ae7777f63049f789663ee818a00e9fe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/shares.js"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd52832516f2d40ded8ad5756d104b829fd9083c4f4c8194590a40207b45cae"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/shares.js"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf587f78e243ac234b9f9c82bfbb7baf4de7de1c2de05d15cb74d260f1b4a9f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/shares.js"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c9e8682544d949f9258a74639d486ef65e276ef7d49a1cee14f682f46397a1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/skills.js"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf09922c0a9f45a956942e128468182e5b525c4d5b6575be8f23a08107599f1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/skills.js"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"5735d686c02ed3190e2377e02b6485db1d50489da333bd12cf0142d462c469ce"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/skills.js"},"region":{"startLine":1250}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfa8196fb605a7cd1a4917d2278ea08b1385822f77b86db099a2388e219b566"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/tasks-modal.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35886539b3221f159b0769f7034757987cbc94f38ef4f86e867dce533848610"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/tasks.js"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77195292174507a654ee7d24f7bd9763442473e73449e681f56034d1e0f5bf2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/auth.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7510b1ca39808877eece1cee6bc1daf781bf29dac7b8859d2895f601622075ca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/auth.js"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1d27e61dbce53759eb6c30b35dca28f50b79a3f1efc160d94fa9ab86e07d1b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/i18n.js"},"region":{"startLine":2575}}}],"partialFingerprints":{"codehealthFindingId/v1":"9097e891f34ab2821b06c7e20f8568d528d1cf16e0968cb2d8e04f357637643b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/i18n.js"},"region":{"startLine":2580}}}],"partialFingerprints":{"codehealthFindingId/v1":"548786d790926f3fbd0ff5e220136db2391142395847cecfa6f45f43b09c390d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/markdown.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"70de57e5fbef70a85ee862e84a6c98b98a5c6cef934952057f457b9a71880d46"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/markdown.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6351ddbc46f6e60031074dd823fdb82cbc518769de6a5400e314b27dd2d6e2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/menu.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0bb2744782ac8c168718feae53effd2806f20a87a11f9cc827f87e3c1c512ca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/menu.js"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"2331e7292055c4f23244b65c185d1b3226ff76932412d0751863ee1394d757f3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/menu.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"be913870ea00fc87506cd39a6b49898f0e9b4fac0103bbd19a47df2f25f816f6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/menu.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed333cebf4d94e5e0b7fd670b992f2fc8474ab7a78fc0ebf4d342a80d06156a7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/nav.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3720c74311ad256c123f0cf8b0c426a5967bed5323785a60438372ae396241"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/nav.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e95b1a4c1b710110098976ab1df441ad497c728188e49f6b1eca27aca19f56c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/nav.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca67f486b5ed46786f976472cf18229d9b9a23a658c44b6c1098441628ebae00"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(function(){})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/notify.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59be9402e3d1feefb9e454fd0e5badbddc9ea420fc4d082d62c87caf4e16858"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(function(){})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/notify.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42aab230dedea286e4858c202f64721e794de7b8c0b3d02ca39b1c039fa5ca3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/notify.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebb40abeef41d832294869c1c58088484493381bfd67c353b1ca90b1be55521"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/notify.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e477bc85dd6325e566acf6d63e986c1db7d8d55fcd81237dac66cb79d96098c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(function(){})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/notify.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"93bb4119f2ad586f62d1d95c9fa0911761a918bebcbac92641ef4595a0cf5ad7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/notify.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ff65da8509652a433b4a5cbceaa06dca974bb21c797b1a58b45774002b0ff5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/notify.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"86980e94b61a5314a45f553909d6bb132ec7b0724751e0867e3cd860f17fead2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/notify.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed9f738160db56d2d1f324a7810d1a5f6bd0c5d6c412cab96875c26cd0e6047"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/notify.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"d418e6eee10d008e5700cc19275047d75ffdbb160636ec8ed8fc1140480338ac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/notify.js"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d7b32338acd0c95f889bb906462bb663d7efcb0c300eef94973c9e878a338a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/notify.js"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"608b9a9885f74331e874c6a1eab6e1562d431a8bd5c703a5137fc8c3955f45c4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(function(){})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/notify.js"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba18d72d65b08a48e2f6578e09d35d255ac0a67ff443717c5c2cb5defdfc4f54"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(function(){})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/notify.js"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd13019da0b604f95dade7e5273c7548e4524bb722c79605d2cd336fb9996f8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/router.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"730e071e9e6e975fa41811f79841def060863c3b4d0af0e994b9ec045b6563a3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/themes.js"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea86f60d0dc13450b2fb14af22b6da10f67705129b93019313ac091c43664c0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/themes.js"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"7893cb79d157979af54cbf33aaa02ed4f3d4ed156df3b14b694ce9a4631e82e3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/themes.js"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"9533c5ccd2c7f8b418e7fb8ad34e08e37a82ed704bf4f95a8cffd77e796632f8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/themes.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b95802efff69cfe16a2251f5bba35db9bac9c990703f269f43021ced075fec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/core/version.js"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"349692e507bc791aa03d1fd6abb9c8b261bfebfca1c0172961fdfb6cf1500d5c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/context-usage.js"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f22a2fba7f90b56c28ca0bbcb8bdda16eff0945b9d415fd800d2255c80a3fd0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/render.js"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d19f829a10c3c45b28ca8d31a5a1077435c04d175cf1691d5f6e3327c225ec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/render.js"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee9133ac4e273d6e63624e260897750c34d524d67aba46b2c27c16cfc643900"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/render.js"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb649ca58e727416a9ff81f01639a55c24cd41fc960c25017e74cdf1bf82656"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/render.js"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac9edf66ff34c023fa10b983fc45c53a29d74b25a581452dc8e647d7d596eb6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/render.js"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29cb4bbf3b22bd9fd822ae47d50e6dcc50701bc12186c721c82183f393d9f4f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/render.js"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e1b5204b6bab9d4785ea3d252682d67e607bd88bd759343d2ee13229b349c0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/scheduler-notify.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"361454ce98578c68a5fdaf6835c76f3bbbd85fc7d591da5fa6ab01c5014961c7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/send.js"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8bd7210465c33eb584cf8eeff4d8e8c43ad0e5031c8d62f159d3d8ca37e1d1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/send.js"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b64ddbe6fa070d9bd36e950debcf876391e8e866b8a0dbb4c2c95b0da617421"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/session-settings.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"631b1f0ad286f75e7bd26f836aaac2c2c49907ce921a9b8b29ba24ed0b2bad46"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/state.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd777211a0b66801cbf45447d4832c9fe809011b9bb5f9708223665fe8bdfa2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/state.js"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe95ec51f4f8f70e77b613ca08ea62592e2a954a234f55b70cf93dfa4919404"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/timeline.js"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9774f50087709bbf4d728a4f43d618853bda3ef65a1945d8e20b739df6027f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/workspace-selector.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"489cdbe0f2a2f4e7f5b68af536ed03a44191061ae029e0552510222ce02fb4f6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/workspace-selector.js"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed8c8bf5cd2875fc3025cdf79f88fc1296c41e9ef9b1909d23fb94e5654c500"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/guest/guest.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e7366745beeef044ac2d19a19231f9a075acdfd2dfe60f868f9641a8d7ec1b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/guest/guest.js"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"357a4aea030798dc07a04134fb428b74e962ae229d5b807e43bc41f5ffe4eeca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/guest/guest.js"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"1510dd5e11c55ff526fa8fd490125d612663c638fd97eaad5f41144b621ad963"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/guest/guest.js"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13245fbb04b71ec296834daad9cb2c8b7040270785231059aaf18f0a869d4a6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/_common.py"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d9077ae3712f992bd85fdb1cfa1b0ba082464b874e1810ebaa0166be24eae3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/_common.py"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"344817e8038ec03be55238a353f56d56c5d2eb28796bcb22330610d8859998f3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/_common.py"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ea3567b4facd0ccc388f380fc238071e6ff3a91355725687a05d8f6ce04dd3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/_common.py"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"068e58d3f4155e063c30eaa17d3cb05e5cfd09edab61179df134ff20c15c99c8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/_common.py"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"48bd8e60825e317368cbd5e318968f83daa324cf63af16c8bf7941f016e9d34d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b08684d2153c295169fa2c4f0e74bc19751662e7941f1dc703a8d7a63f1eafb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f8958ae02be3a0cd68d51a815ce63adcc53bf31d5940c77f6c3b5fe198585f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1669}}}],"partialFingerprints":{"codehealthFindingId/v1":"066366dd4a063c67981435b439726c30d1d385d18ef3528cbe13adae0bf1a6b2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/guest_pages.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de150f29faa451edb40b52fc5f4daecdb94896e3fba0e74b5944bcdeb89475e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/agents.py"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"4737f5f9177313e4c4d00a457358e1db4a70ce56142f239e4c4906ad4fee1436"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/channels.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fef81b262dbdd413309ebd084709ad9648dfdb6517da6d4b5e6d92e1b66b921"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/channels.py"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df2938a9f2b044d24593d9b182381811a1c12c4356e94e8ce825e17886461f6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/guest.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad56d01c73de31ae7b7bc0daaf957de7c5a63005dd7e9a7b32d2ac24f1485453"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/models.py"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1082f8c3b4aea3a5efa9abee2f8752a4ec06cc8bac32d1fee3cd5efd31e6d7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/openai_compat.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08dff2025864d993b18be3d7fa218c7f6c1644f973b308ad12cf9f0fc176519"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/scheduler.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b04d7302e04b16636a3f5ad6603e8cd1c6ca7433cae33b0f491eda28dcffd71"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/sessions.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4f8461c682f21ceeedd7f393d146d07a85425ada017ae365bc82dc6381a9b7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/sessions.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e979e09c20e34b90c3af212c8d4a0994a0a5591d7388bb141355e377776c8bb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/sessions.py"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ef63d7cefdd026c7a0d1c367d00a91b2470a75b2ab51c0b65ef772ad15c0cd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/terminal/terminal_channel.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"1170de88bb979a1589ec75eb786ad37621d69cbc51d7ee8936c2b4bfeb893781"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/terminal/terminal_channel.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05c79e7c9e5008a5b4b9a82ee4da19faf997940251d05fdbc50b6ae544e855c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ab85efad43de0f940c02634aa07bf5abff31e0950d51878e4a718718a1fd4f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b22a651417bd53c4beb895b37a7b9900fca75ed898f6b5faa9a920695426af3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efc26c59f70eba1ce0b5b5e3feaf8d75acaf3360a509fae74459db86178f960"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a9f62f918e9a71eda5222cf04af4f15bea0d677a995da7e1bfb1be6ebdcfe0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/slack/slack_channel.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7107ff4976ff01e69f87ea75e95bf26d0601e9d030f755ccc99530c1434c4a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/qq/qq_channel.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"b367c74fc505a664e98dc4baf5ab7c492cbd56c968d0a8b1a272df46b537c4bc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/qq/qq_channel.py"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc82ce96945c0b7bd283c075a17d188ed0c6e598344343c2a339b7f7a9bfcf7b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/qq/qq_channel.py"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"de79aa4063b9ddfb44d145a7a12defc183332accf77ccfee5a8bda0d2d522a45"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"789b329993a84c60043d930f092932254e24188b69624666e28c82815516e0fd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde6da14fe40ed454a52acd428993c24f6b4329d8e82f28d7af53e04ea624b29"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"98196820ccc6c312342d737b10efb81728817ac5fa52043cd72c04054a9d5bdb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6afe2fa5f7eaaaa3f17f91d1c56b1baf4b5ee85b7bb470d5dc3953f61161088"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd25bfc823b0f55d6bcb9ca90f23a1621f0bb46fdfd2385c49b7c9f4e31fe41"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1586}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a5cb52d9edc582f7e075c113961e462fd8116a572aada8a7b3a1a727fd1749"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_static_card.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dab40f414c1eb8a87a45f989a9a406091722f33ff191b906fc993a4930c4125"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/discord/discord_channel.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e06e469215a1d5d41a494341e94b285c1a0b7785227e9711ecbb569521db67f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/discord/discord_channel.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba0270609310e5de067be3d270b13970dfb3bba89dd9fd5721ef2628e67e644"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab7bfcb6f34f7a43825b84ef22195873a2ff765b50859e0cc59ae280e9140ce"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3241f633ca2f3a02fdc0710abf6071a83335506d08708495f93a247d200ba37"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d288fed8753a1e5d511e45871bf41b588b57a7b58449282fd583aebf0f81eb1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4e36e6f7c65712ec0b9c61995903e6ea3ce96e6be46e5fdacb595829402462"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_bridge.py"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00a7a8b6406e9b38b1f999f00e66b225ca360cb0b4657b66117fab611f71938"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_bridge.py"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcde9659fa81f3686f819f5d4e2edbc5d20979ae373f56e1a20db12b2bcdc97b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_bridge.py"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"853866eeabc3ef74031fff532061a774ede7a7594a19e09b1e3f1fca5b18aa2b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_bridge.py"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d51d09952e2be1064a7d1f81a2f53312beb8ece078885a3002afb1705678b27"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_bridge.py"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec3eb799a73d6f6269a9bf6b55b3afa150c0e884ae7027a020f2a87580f39e8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_bridge.py"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3955408f0d4a51476bf003af9960ce376251b1699fe599c11a855a16bf0f24"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_bridge.py"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc7b60e70a98eab95dacd0f76690ce160ed1dc0a0b53f7db3369bb2052a40bf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_bridge.py"},"region":{"startLine":1602}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02bf7b3f0985c05d6878c01c9e7879aa8481bcb69f7b173a0ae3c8f534280b9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_bridge.py"},"region":{"startLine":1764}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7800f2c41ac2ccbb80a760bfc54fcde2f756c008048682bac37283bc8650ee"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_bridge.py"},"region":{"startLine":1794}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd9399ed8fbae77af04781510ad1ceddc94ec84bf538fe332b796b711d05e1c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_bridge.py"},"region":{"startLine":1808}}}],"partialFingerprints":{"codehealthFindingId/v1":"447abb6dd9b1272d9eb4b669219779961310eaabab84db27d0ebe65f2db74398"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_bridge.py"},"region":{"startLine":1847}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b41251be71840edffeeadc4574f6e23ae2b820aa549ab8c0a760e62e7fccce"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_bridge.py"},"region":{"startLine":1898}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2cc3a688cdfd52a373ad1123269d426367987c50a65b55725259bf133ac1c5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_bridge.py"},"region":{"startLine":1903}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3f31ad7e44bc55683a58a08de3f83d477e3a0a14f726b47d8d6bf9696b54fe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_bridge.py"},"region":{"startLine":2157}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3257d95c5ea0a0f6b3f92457cca9ffcd08b3ff37c2a67c5dde292c77c4712c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_initializer.py"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"214a6bea1ed88b6318f6d3853bb75eda8ac860bead9cd69b697e9c4da22117b2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_initializer.py"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"2856439447304038b93933e2a41b2d6a18bcbdb86efbd991a8a1f58fa0b1e495"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/admin.py"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"3148e13bf82af1d10bb33078e73bd85605a03638b7a47eb1adf350efa6f78e3e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/tool_manager.py"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7e14392b7e9995fb2dd636c2d4d3f8e35e0cb15f86cdca8ba449af241d7392"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/web_fetch/web_fetch.py"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d4361492339ef8e266b5b775be5bb2545757c7cfdb6ec3678de1b62b2ff67a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/vision/vision.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0877895a45346e7c912d9d14a3852506b3cc6fa13ac6770175c9aecfc847654"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/vision/vision.py"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"de79999da056b0edf54c1e3f1b3758a082867a4bb7590abef1b22aeda3055a9b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/vision/vision.py"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce17686f6ea1ff4f04d9f3aaf2ddadc64cf93ca0f48d0164f91b4aead3abb2b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/vision/vision.py"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"295b56aa47a8568a1cd89aaf10ecb13b20158d815e5deae0278c47dfe4b5483c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/utils/url_safety.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc933b0a862d44aadd0331635c40631d6cc3c0d2601a1df54217ddacf53803b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/send/send.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"065c771bbb450546a0c93faea32dcf4afcb9af97f835182e28e71029413e115f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/send/send.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"112455614e7d60a9fa99d7518d6072edba95aad03169525565ecb654337c779b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/integration.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"e004c93d6eb9036646263563755dd7b18aea1df67bb18b78332ea91e6c384492"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/integration.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"0111538a7050c1d5db092864f41662de07e0bfc1eabf77fe2d70a6418e91f06a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/integration.py"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"730f9e21fd9b69741f74261d13c9400cafad77808fac58de6e0c55e11aead21d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/integration.py"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9925ac31f5e5b93cc550a8d16a3f4d80ff700492e08b90b1fdc3a42b88afb84"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/scheduler_tool.py"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde3b4562a34905a4b4eff614e9515fe1cbfd310930ff5589b6aca1e56dbf485"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/scheduler_tool.py"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0e0b9c6e4345d918e1b67a8a1018ec5a4dbec5f0381f8f3294435cd97d2ec8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/scheduler_tool.py"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ed766a588ae3723ffed4b329254205f4d736c076d55ac85815486d38e5565b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/scheduler_tool.py"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e8c9205dbc15b6d72570c6261e475b36835c56ffb0d70b9245e4c8e64291b9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/scheduler_tool.py"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"5100dc9a254f935e82024780abc1fc2b375a2fcd446a3382a21e191397d7bd51"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/task_store.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"76362206f0334b6f600935fc0ad58d5a96587146335db40b91d54817d4d116dd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/task_store.py"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf5553ca546bcb7d2627987edcb091fd9939a4cabb04dd2f952168812f68e9a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/read/read.py"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7841a35709c8fc8e4d2900193200084cc00eea0b31f00c0aedf58075e11cbd3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/memory/memory_search.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a51afa4d7b1887535ee431f15a27bc8f19ae4e5686a50b54669359790308679"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/mcp/mcp_client.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c6e2c895f5c2c7216dff7053e2eabc852554f57273a2824deab8a5f732cbf3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/mcp/mcp_client.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e94eace1f62a33ebf55161dda8b429aa5dcd676e57a6781a4bc4be575de584d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/mcp/mcp_client.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"669b42f4ac3276aba06ba164140d54d57d6fd671a5ecbf142ec016bb17bde955"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/mcp/mcp_client.py"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"e276c6e4af242242232c35d38bd849c0cd5912ec698e93d87285476d716cf010"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/mcp/mcp_client.py"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"000ae551bec884cd33f779aa0c777818ca046be865f7fd0ea67424ab0d4de2b8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/mcp/mcp_client.py"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a34360f3804ad921fb98d310f1fb5cf48d38c112af8100ab25ab5373e4480a2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/mcp/mcp_client.py"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"94123209980d9fe9df05fb7bc924afba43ef799c78ece2e963db9430c2a924d8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/mcp/mcp_client.py"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"737aa49066594b9efbd9bdbcd584513d887fba050afc5a87e5ef53cfa5756a43"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/mcp/mcp_client.py"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a826c20790cd48d14332005bc343233a4b1d3f4ad8814b00f6805a12fe8a9bc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/mcp/mcp_client.py"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a519415ab43d29d763c106d99c8a4434e0b528c0a530c1058c88f5e9c3e496"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/mcp/mcp_client.py"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe024d318838037f6ed62e582b845f5347799a6c8b0d05b5de9d2b8c834b24db"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/mcp/mcp_client.py"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e718ade74892f2159bb24103fddb70adc20a3b5a8046a3f553045c58149a15"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/mcp/mcp_client.py"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32f698c427524d7b6cd62b574e5efd17caef9fbf803001e0248159112bac2fb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/mcp/mcp_client.py"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d79a0a2a9ad0638124520557fedbd959014c696e3f736ff624d106076621d69"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/mcp/mcp_client.py"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"7051dfca3394595a14f5421ba59d881fd21e4c5e579d28b27d2f759d82414e34"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/mcp/mcp_client.py"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"8669470fe2d7271ab7e1c1fa337b196d181a4f6711e612716219e2c5b79f3e19"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/mcp/mcp_client.py"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"32be01d462f3da516e1bbe159945925cc78b432b25ec7a0aa9cc50e5b4448166"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/mcp/service.py"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45b72ada5bef974cec60293c9d4441c3b7a3ce24ebe105a3e6483011a6468a8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/current_time/current_time.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e43edc428b29c7d837bc1546091b4b5aa529e8d66ab3ccf6df73aef47f6645"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/browser/browser_env.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac719b7f097a2f49d151b076ed45e5cbdb8a4a9c37a956a77d8f1e9762d30a4f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/browser/browser_service.py"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41863b2df5c52da67c46b6b063f42e0e14fc01b6926fdd8be78b89f5c43d46e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/browser/browser_service.py"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb00c3678a6348c792811ff350bf0df315fd9f898194ff8eb48413a606dca0b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/browser/browser_service.py"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a891b8f8fb599c76daf29e271c7eee3654af0ad74e5d76d434a68188a4dd92"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/browser/browser_service.py"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b5caadbf3d14f9c1828fa214b112b874481c2fc15c1b88e6164a88414b4ad7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/browser/browser_service.py"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaeca5db9c6e355ceafa3f95488b2cb61c2d44b7fe1aa18e18bab52b5e50ceab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/browser/browser_service.py"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad721ae547a924c3d56f396f72378806809b64df69376492208f0c3d377a50b4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/browser/browser_service.py"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cce89102bedc37a289b059c4f8964fd8ab43c5553416be2067e0cdbdfc2a5c8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/browser/browser_service.py"},"region":{"startLine":1307}}}],"partialFingerprints":{"codehealthFindingId/v1":"924e682c125e1ef30fc92272920bd92b720a7f2653b3d06e0d9aa152f4cd3966"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/browser/browser_service.py"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"0befceba859d7aabffa42ed6d88642cde926277e7f47f491384ad70b1c9523b7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/browser/browser_service.py"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a855229eedd93de1f18bbcb641199a14c42b452082f043c230e8739972617b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/browser/browser_service.py"},"region":{"startLine":1330}}}],"partialFingerprints":{"codehealthFindingId/v1":"63aa03c59e7f7e74d81e55f169eef29d452efa799521f846a340d48b1b636a4d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/browser/chrome_launcher.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2009a206b673de8737642ee86d24cfe795986f973e307a5ff25137fb55a0e8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/bash/bash.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b67b86796db5f5aa3b257f4c6f0e20ebeade6cff696a32805c775cca9f99f9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/bash/bash.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7d74a8ba81a4c20efa0594da350388f82e560900c5482cb2ae199e8d648ad9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/bash/decode.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfdd0398976555f4266e4f067e248d956be129e121b42de6779a615f36399a26"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/skills/service.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a865b03308ee9f0cfeb8688fecab84081a5b5e316b7f6eb1f625a24705a90ea9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff3c08f927cb8f60b1b9a7a4b0015b21e2d793678266fd7e7489fafe3320f82"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"2954b36e3eabf21a367e00ffa24efcafe85120e122379891ca96a96e22e5f346"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe07fed4f3b3a485b4b943d59ec81d162d5026c949ffe7395fed0e23e5fd8a7d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e68fe5f05def0439195a95bff8df5e81ac999039a9c7c31562a9d409c7090f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent.py"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea5087c633ca168870eb9173a60ecf53867803687e536b272acfe5f3507f2a3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent_stream.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6243e429dcd4c826e92ba7aef0a5ad69828b96fb189d9845dc52b6469cf442d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent_stream.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3818f3aae4e92fa01b136b0636b79f743d875ac8334250f94e03d8f6d1e15a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent_stream.py"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93b777e8c3dda9077fa3b8d9ac8be8eda87f25597c2638545c2886c6808f84f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent_stream.py"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f798c00a10648f21fdb9f3483d0f0961dfe08223ce1930925b8654f18b9b64"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent_stream.py"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"6411912a158f015c68de9521d82ac847f13bac810197b7fb1b7dbda95c6ee746"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent_stream.py"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb6aecbca3f71418ff7a1f9ca956511960e755673a865bf758cc77e4915a2f9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent_stream.py"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"3669f99336c9f75fcd6864a31f632c08053e5f8ce978e3c0f6fbbcaee0f7b1fd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent_stream.py"},"region":{"startLine":2050}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0120d58153251f45b2176230c6b3ea5d479a9e4fac4fffbd518b1da6784ef6c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent_stream.py"},"region":{"startLine":2425}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50db5be654fc69d1eb56803adcfb53f80d42e6eb298b7a0c91627419d8c66af"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent_stream.py"},"region":{"startLine":2619}}}],"partialFingerprints":{"codehealthFindingId/v1":"971b1cf05a32b9ced6dce6357d3f8aae5c10fb03379bd9f56cd05eb6e12f8c8b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/artifact.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98d1a2174a64f2be4d0243d80c4d568be38e3096b90e71f29ff077d1a1f1d8d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/artifact.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30263f05668a484c368d2c33a89056995408031551c4ad564b067e915636c2f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/artifact.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"34881aae54287a5cb08da7ae4a02bb8bd70cc5279a8345e66991fb82a08cb002"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/artifact.py"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ca10ba88a70239f4a87c8e96a082feb7445bee906d48983a062b8470465456"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/prompt/builder.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bcf9f7603a8d81216aea291032d92b7c60b7c1c81a75cb848979c217377332"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/prompt/builder.py"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc778dfc2ccc78a4db0788e52928c7ed1e07e4f9f643ff60cecff6489ea392a6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/prompt/builder.py"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc12f96b96d211cc7c275b0943e4d7f6b251fe685e9eea114d23dcd19347c4e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/prompt/workspace.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a756683bd77a2b695075dc332598306889f073e1256bf58af6671d70d3e586"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/prompt/workspace.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce5968414569e953ce4087c24ff2fe115ebe26432bf340c84bbe6fb9bec8edb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/prompt/workspace.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"5caa3f812b0385dd6b31c15fd6fcd92dfe62a76a525ac398bc9573b2ee03683b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/prompt/workspace.py"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a99a9ee7798e9c489eda97c70ebb086e89edb813334ecab36cbb7b93cb8e6db"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/permission/policy.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8f7c73e95eebc457acbaa3842f4ea43414fb091d0d1004625c6a7c3b8e75c4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/permission/policy.py"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35e1fffbd825b570de06fb59bd871abb9ff199f469b8561561dad757063f06d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/permission/policy.py"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a9be8485c2d13b72d421bfe7058eddaca4dae3c6685e45d553aeb8757bd7b1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/multiagent/transport.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c299cc894144084c39e8e371cdfc7d6458d3592afb3c6e9c038a21f1bafde6a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/multiagent/transport.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d50bd66b7a629e38378b01ad0863cb3552f15a877e5fd51b19cba254210ff4a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"151874ae030ed6c1ea18bf861600225a8f4caff82c7c1ba8b75d7950e789ea57"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a34450419663a6e5e81975d29391a71b7b14874ba64267b61d238611ba916b3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"50199f7aa2d14ed3c52a96a97c771daa832e7218d06ef6bffd81b6ca2c50d38a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"95564aa8f7abc67ed30807f640176e51a3c7f37fff0a2ad8d5461d0dc9b6d578"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a94f9ed852fe01f509153b45e876321b7fd76e4bd9bb6e4bafd922058e022a4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c30cdaa19d07188642633a9db0bc2a1afc9327d6ce37071ef06eaf56092431"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4a5c14f088a1dc49cf568b8ec78421b2187a34139c13a9390a698c985192b4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7962c2ad944e54fe599c7c1c630c31e63f35b543648486fc5495a35a219958"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":1250}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c92b31cbe9c4a41edf1ded04fa442060d3fc5e4a33205a0850dcb0a8754419c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"8554bf9b469f390d0022f51091de170210a3a02897edc030523e08f855dd08ba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":1383}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43a1bf14097b10319b4bfda36f46dfaa7d2e025d5e594ead2be0eff73fcb2e4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":1483}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ab6ceb7fa8a7480578641b5b34d2bc8bb2b39e627996a5e8b1775ab264cd5a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":1530}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb8974ddf16172e1079c61ffc95d27e04471519d703e4268c01eaf9f8643c9b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":1721}}}],"partialFingerprints":{"codehealthFindingId/v1":"313f05a65bf9e1667aeb3acec1c7473ca021065ecf57ea94822b422e545afdfb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":1854}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18ec104c9442afe02bcce602db167408dea9fbab4af774f449ffaf6fde9650b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":1927}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc140ac9e503498ac96c4d600d435fea4ee2f02420416e014f02d61e923ea899"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":1938}}}],"partialFingerprints":{"codehealthFindingId/v1":"0781ec3afc756b43ae87efa9559f9878fb457e042387490defdb3b862297a62e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":2407}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68c9050815ddcb82ba3b8cdde6cf0e100c912b349300a0b939d46b1ea78d4a8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":2454}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ef8c77fb1eab477419ffe93a6b8047aeb80d026f1c7c42788807d7326390bc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":2472}}}],"partialFingerprints":{"codehealthFindingId/v1":"7388fc0de1eab619845da96f33e46f5aee6c5758be6eb636bb40a512dd10db1e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":2819}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb922a57e6c3872fbd12720f6a2bd868c350d2303abebec50b0b5e448751146d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":2847}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da89c54140c15d1591aed5ce03dbc23788ad801de7268230ca843ef6cb895bf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":2925}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa28a2ac2e99f044720980b90bd3772b92a5ca7a1cf931f758e8b27bd55789c7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":3014}}}],"partialFingerprints":{"codehealthFindingId/v1":"06083865799116cd706001445978e37a839664b8535b555f046fe54fa833f841"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":3030}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d794e275e24cd0fc8bb94c9551a0b022272a7eebaf3eaa5932f0f79c21ecfae"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":3051}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f08b2188431671c4d5fec15667bb3dd7e885cbf55627596ba678251227eed4b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/manager.py"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"05cb5fad980ffdc95b9700fc2404d2bbc7e7df6a2e695ec29522702ee724d3df"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/storage.py"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8150b402f880b31b15aeac077727d3dd28a4509d58a6064741a545e7165d9f7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/storage.py"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ebdf327054ece93619cb6b408fdbdd861facd0d78aaf8f7cbe2a78de466253"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/summarizer.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb4ee155ac2def3e7edefce745783c53c791a92f46f3e751d716131a6ec453f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/summarizer.py"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"f821120da6975e553e18e8323aedc6eceb1eee5895226eeeb6dbab1d44b60fab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/embedding/provider.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"1237d02cceeef2d2c0138f69432c4969f6b2bdec0c21bd6abac1dbf4419245bf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/embedding/state.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"430d0f38b259b2b1c35c5d30cd496decb4d5b3129b5ed64d77fb29ae79b8afea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except (json.JSONDecodeError, TypeError, Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/embedding/state.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"871f4091a8dea19be1565e0d639fda235020601ce2e1e208f4dac79ac422c9de"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/embedding/state.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd0345546008e75dbc56691512ca7d0f27055ab69249d3e3b269cb4b9d9997a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/embedding/state.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2d1300f12114aa2aa70a9623354d1a6025d6c68b30aa489fe80ea05f932ef2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/knowledge/service.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89d20482be5d670f3d2056cb5180fe97723fe80cd5507027410658279af9429"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/knowledge/service.py"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"5222b3de263a6f766bcdbb08c1e369ae1927998526bb72d44252aebd7facc67c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/knowledge/service.py"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"9304f662aaa9e2aac9497284451e87744e5cf28f89e8e25c42715ef07e02532d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/knowledge/service.py"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4be3b900d6047e1dc52e3a0822911b5811817f2376ea209594e7270e29de84"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/guest/policy.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0dbe9f494c2b1e1c71bfea7ec76e37c44aee845c1e1300cfa81f929d7c562f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/guest/policy.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"35454e53df202213259643f0b9a6821c7a23a5af2af894ab5cee3df351c7ba6b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/guest/policy.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"df07c7b55e114fa00aa28a9ae05b6d9a2670cba3ca1fa704ee6df8ceb5020b73"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/guest/runtime.py"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f55e1acb2c9b2d340b9249424849556f4503b7389cb80f2842898994af63ec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/guest/runtime.py"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88f31a08c1cc7d1fa4fdfc5c76d81db7db6f6911ce1f26ad5ac511077ea6769"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/guest/runtime.py"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"153e0b7163f4512b94a16a9282ea2123acdbb90089622bb6b8f202178f68759c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/guest/tools.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf73753ea0a9922824248b5d3823ef04117844c7965ddb7fa2d193cbd3805028"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/evolution/config.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"99510cf2615d37a88b33becdee06831914b1e414ded32ffe95546cb233045d97"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/evolution/config.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f767503e6a5b5fcaa28ed60bc894d84d839c41c15dc21a043871d69b13909af5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/evolution/executor.py"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"205b5b84f6cc191709a44f3888453e21fd9af7b1db80b9e316d2e7c0841e47f3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/evolution/prompts.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"8368c40e2db1680c44b1c40fc7cbf5426f427f00e7a31d5282f39a282dcd6aea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/evolution/trigger.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a8c6df959abb53efbfcc4b0ea8cc72d27a93d42a33e3acce78f80f3f27bee7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/evolution/trigger.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4e04bed9f45e13548b946d314ec18006f33a601697e137f135a0f26b383271"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/evolution/trigger.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bfa645cf881ee84a735872e6d8635b28f6b3556d5b31752adfe93547c44947"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/chat/service.py"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1498a23b1ce4c847b00ec83cee9ef372198ec0eaecc07d1afeaba1f537a724"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/chat/service.py"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"495cc36e89d67db2d6265238e4afd31c1cbb7d150f39f2fbfd8c4f8da9f4275d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/chat/service.py"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f460d3e54f424b7b454c07ca08ec103181d5a3c72b0113d61d75c815360d24"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/chat/service.py"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"cecc852aa002eadb18768d653d66c5b4ba2e0738e04196562a18985958ef46dd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/chat/service.py"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"2826a00fa9885126fd680c70b9ff9e749c7716688e00003a83215b22899ed617"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/chat/service.py"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50394df18ae3cdb01cae19ad3c24d36924df9efc0bc438006b489e264aa065a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/chat/service.py"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"177772c09f34247b588c340e988425ef02c248e4dceb73b95e321441a0a47c33"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/chat/service.py"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"f403e39666e5f19dcef1716383a849feaa1f4170bc0d572e064155249504e128"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/chat/service.py"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bcda6f9ac259cb5a2a6ffe33388479cc468472a7e8390b670f408d79424e1d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/chat/service.py"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"10acf0d1a320369997b212cfe3aca1025e0856a2696ca7287469986bac9dfe43"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/chat/session_service.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf939cb02b413feee0a6a11159e159dca066416047151906365eb91b30e757d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/chat/session_service.py"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d142313cc3b17b83bfff3637e0feb1756ee435ab7bca743aaa2ba96a4b0598"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 97 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c056ee2c83540dd634376dec7c62dc761001a18643582f4fcb742975a9db39"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 114 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"717e32752948e24c466d1496a94f2bb1390b7f5ba47228405585c99c17c4abdc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 122 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33afb6d6d0eb5bb9e84c779a1236bc6d52f0fb71d8265560ef6a9bd2c170392"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 218 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"186d83fca445327585f716c86b7e05ef1f3bd139f3e983d3b1c8b3eeeac45c5c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 233 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a968626f68fa7f2b96db37cc3683e8ba325af1564c681ce2d042e57f606ae0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 290 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f68d393de20a6630deb3019ca740c7cf4e10360fa7e5aba17475c096853dde0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 296 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf42af0503243982bfaa6681a060b4f4040ad7b39e5f91cfaba5ae4200340e27"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 326 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"7087471232efacc5cd0b1f616b7493e83965e6c815e72df1b1688222516f7019"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 330 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0d43a9fb8300de551e7d7c2f20d831ab479782849d25ffe99becb600c68311"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 337 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"c255032da52c1178221e11ced4c740f245e61c5f50342ddfeca84f4cd2e15eb3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 342 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ff2f65928b2ef1996b2dfd1d7a1090ea13347e8623586d22eb079c0b634e24"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 345 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"61175b3903be17e0ff6ace3ee64fbe682ca89582ca8dd5165cf7657c189f089f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 360 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc1094ec3d7c3395d4b6eafe2c715685796af3db93b486fa83aec3bb9b3523b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 363 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"af911a1ef53d822f572054e83b5fdebd8f0be147c0aba1bc9fa9d7db25cf58da"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 365 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62dc86c93e5043862aef704b7da85c35e120b247fa76293272ff5a61a1f8aec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 383 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba214faadfa946bdf3c424454c241bd176e41d5fdc523c4e825cc1e90c1cb919"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 388 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"9602f07a4db3f267f4f76871f2ddecab819197358f6ae894493bf1fd50bdbe01"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 421 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a3012b8faf76d805fb40cb1d2db4ec63151e11f021deed6d0a89d2910ac6b0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 425 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18d400dcfe1490440222b3cb86b30876ac092da2f55007d4b8b9f562e6fc4ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 428 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"876404e6510ea4949f73372062d02e33c0fd70258a69e9b8db3968bf5473e1e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 436 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33cb4726fa6d39b3488a33fb2bdb6777ef094ce9a306d068a8752eabf4b165f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 438 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"b651b12ebdef7f39ea7e90d60fba993db46e264362023472d2c2364fc2479435"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 440 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2959274f92a98143a965848f2d66fa872c1ebcea858e60e20541118581cfd6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 479 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"046496fe50a78722a1cd44edb82be6829a437cbab1ec852855b415e964857e50"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 484 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"79549eac166be4f43199b6cd5deea33311b838db7b9f3232a79ed11e982a79d5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 523 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"74cd7ef1b515443410ff4809685db2b7445e4f69cd3b25c782e9eccc329b4238"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 557 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"820e86d11d01b53e2260ff2dee8e2f55f00cf1afb4cb902df8fa519dcb88c9d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 566 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33273212dd22a33ec0c73fc96457947d7d0b598b46922d8e2727135333ed654"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 582 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cfac17ef752e0314a9a95fed5eed4dcfbbe6f0f5b3306b94fb0817c66b713fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 605 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb280affd5c2425bd70c74e1f79e92acab0e5a38b7b171e50ce1414251bf8960"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 626 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29428316d525b96023968a7656facaf6033912af8633f961f429eb0018be90b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 646 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"377261fd296b91cb25e2a3cf7bd15386df94c2d9c4f94d2f7f41075f49312e77"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 653 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2292d1779e340b97dd8272981da255fe10227eeaa4f6423ce77c811842317bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 670 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fe76dd05f0cd86e7d72e806aa7de703092a4046fe73a5f6683e2358a1d0654"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 699 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf89a9e390719f7743e777b9061fc711d81c4f4dea770c6f2541f613ab2b262"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 706 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec2e673093581171dae86f0c45de570ad500ebb1b2e46c1b5e033686677ebc9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 739 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a086e0ff9b00cae54ba3e3bc7ffb0a8fbc8b074e2436a86831cd6bcc1a6b7de"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 741 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2ddf96038ca2c3c912af823103556c9a732577eb4760ccec68d04841fb3bcd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 746 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"763aab1c99533e782c653362bcafd5d443ec0052ea7a53c1cda4acd61f4d55d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 785 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2ef583462d34fd2ab8021ed95649659e02a19fc33d283505c574019d4bce46"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 787 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eab19bf4eb7032162c015ff0d5c8b3af744c6b4f2f14c6c6a5b05637109baa9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 792 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"343f3ba1dc76618f632043f4a1ff8e34d8ae607459b9e341e98cb68e901cd719"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 800 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f274a97292ff7b61497520c44f536649a5924b16c021e16eec0ebe05619d9cb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 849 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.py"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ca98cec08c7e644c39b53a7c497fd3b16a7d0c5a72c1b676a4b4bf9df526cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 209 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/godcmd/godcmd.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8955c1322a12e77a25188f40f26213129d5f701bb2f356861e8c62b798c1856"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 44 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/file_cache.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b5ed1767d1001795e0f1ddc876c17d8aa51c9b4745c101e1fdb3c78349d69c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 69 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/file_cache.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"791674b305b9c09c46fd542de1831716d927bb17c923e772ed16a6cee6af0a02"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 92 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"583a6e83cc6d141703bf0eecec7d8c1c48318cee70feeea1b50ff82a87c8bd6d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 101 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fd596c2512940c5981e90f8ad5e51a7b8f6cfe7430f6e78efcafdb0a872d94"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 164 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5507b3e64f35aabfe000badb71b4363c1cd8b0d9ff959a72893ee3cf04b556e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 170 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee303b343feee89f82fb3b247b1baa6316a9b2949b300b3aeb29d830a11b47e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 183 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"187de203f6792af3244fafb8c9ef24b764edf70f39c35ae503d3eae3a7d80fc3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 201 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ffb65be2d03a4f3157499338c6c4394834862aabcbde8599d0b5738c641af0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 234 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5f1782d4d98fd20b229b04ae5a6d74fc7e1d209e45e16a3e67c3e06a2f1c10"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 241 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4d822063ce918f3f1c35ecab78340ae11b21a13bdfcd6cf37d1f0396ad87a2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 257 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eecc79bad92641bc1d58b4439d0d7458c23f6d1d2a322e189ace20161a0efe9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 267 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd4a24dc295211a24bfa23e7274cf7c963c28dffcdfe2b4f5f4bd6f40c9e6c4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 296 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"902ae95cf47f665a823e98850a784ebbcc823bc05c3d648a113e16862f6e7859"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 303 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9062b030409fe1041222a2a213cc3e09779ce6323416b79f87e2320f5edc7d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 311 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e682667eadd77ce0f45caabd02ca0c1dc84b411bf759dd1051624f2b7c7cc05"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 319 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"0740bf2776e17ee76b6fb049967170a1872bacef4133f45310d36bb6bd6547d5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 321 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b937a30ccc23208b319e68ab368eae9a9a4ed72432c72f86c861c6d3c22dba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 324 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55d0300318472a8b8827f32457618b2e3f24c35df27fdaf68d4c9c86bb8c9d0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 484 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e38c9c61c0db7eafc13c754f57bb775e598383d009f2b4e10c73653284a70fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 524 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2cccda09f6c4d06da291c925fe3dbe2bd183f998578f2e0cd62c631b7256f2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 606 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"5561e9dcca4fe155e9cc37011d22e4a041192da216c694f7424babf79e995b4e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 707 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9a8396f9c45e404aae0e8014c6ab1a770ed3799ec496210d4a994cc40057bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 721 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1141f00a20e13788e4c23506d71032581ffa9da86f28dee4782795946eb0fd1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 728 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"801ba0d47f7ef74f521b7b87e2b31ce17b25dfa1259c727dd318f70dcb223400"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 739 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"926ec4b41a2c2b2aead454a6726948fac6eb9788d92811a705e56d5efa1404c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 741 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d642c8705f22394f9f6c8b7b746b6ff1ec7a660ef276eb6b5d958d309a10f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 752 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba35119824f3db56bc1d29255cba5ea05db9ffe9bc984d69132deae50c7ebd3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 755 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb124b26eca5f716b73835eb9c977532c7246cd962920ce375629ea515e71b71"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 764 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f339e23f41a0b9e78a0cbc06168cebc8cf937d7dff13b536ccfe68a6f156b5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 773 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"e646acaf6848d37a34c670cba68045bde524e613e6833fa4d3bc9affc50404f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 777 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1a453654ec847cd72cc0bac3777c0e8336e248303ce61db6634bfcb87278f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 802 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"d034c20231ceb21f72e2bfecb58220b645d3495e983fe2de5a4e0a4a601cc079"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 804 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd97729d958852552177ff34ce8065faa3b1c9af197ede5d07bba89c4b2b8dcb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 894 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fefc14d8f56d84de472891eb1e7dbafb249f56301dd25574d3b6e08e4613b86"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 934 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3acef12a69de0e9d3411475e8b173df6efe4e71c2afeecca14ac145f40e9211"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 945 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fcc76707c3f7fbfc848b1b53ea610429f2b58dbb9bf9bd221a24a2f60a2f8b1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1003 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"02cdcd6f6f3dfb7cbfc6166e34437ee7e0fa03b18805acf08c26be04cc935bf4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1015 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ce7a845a2d7dd29beadabf0b9d06d528e135bf301c7984b30fede1c8830856"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1058 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"b990f30b8dc03215d0f67c0bbbf06b211d56b2b51262339d7f8d7600dd2af243"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1086 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8210ab58fa3b95e31fa9c81bc26d1efae78029bd985b758b30cad9c7688485"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1133 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"acdb8f42d8d3bdf4a6f49765747e10234b0780d34a7955e65081be7def90178f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1153 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5aff57a2583f808a4ecd2c320c9b6dc88d7804a992b8df37733aab1adc5e53d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1161 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c322044fd557da45f84f3ed42b606d7b4a5ed2a5090aa111938bcede3a229dd8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1205 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00cbaa4b0785f1a2a1c5b960ac65e34a5ef835c793069d36e3d3d1fa2132f5d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1279 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"08edcd6f618ba40b4beff061772ee7674157287aa6b989a74e76d95f772c854c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1284 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"79abf00413c88e06ff48346151c8abbf6cd66603f116cb9299934fe4f1c6ff6d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1462 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2322f5b115be7f62a7851db65b654f1383462699638568a53580a788aa1dc32"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1472 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee08bfd9abe6183a2c48201a2b9bbb416198378a9ea6b9c2e128fce3114e4d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1533 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1533}}}],"partialFingerprints":{"codehealthFindingId/v1":"753fb0d9497c6e45966b8d18b4a9aa8acbe02e5f0641fe3af7ce52c37a30dbe6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1587 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1587}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4814a11bbd620fa8bf6fd6cd2908734bbfa9c3b18055c83f00b8ee70153fac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1589 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1589}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b3cc00ec00b7c9b8ae34200d369a7a2b929a41f028540c3b39a0e730b2c0b3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1591 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"8134fa0568c6b46eb67a74a50f755c441b25389fc947a62dccf58298f533576c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1595 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1595}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e331489805fe95a485b7aec6995ad7970a99004b24a211c756b6600dd79a4b7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1603 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1603}}}],"partialFingerprints":{"codehealthFindingId/v1":"d071dcc877c97258fb067396e14539ec41f0447cb37e5eaf7a4dcf288937d6a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1605 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1605}}}],"partialFingerprints":{"codehealthFindingId/v1":"828b149badf257a07e3c1757dd86c0cf58c0b77d58f887378fd25b640a07b141"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1614 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cec45c31881fd70afc75e24d2f595193a47c64a80f6dc0db9ded8dde891d9a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1616 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1616}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a268dfc74843618175b685d637efaa1cc7a8bee61a8de416a860722e1ffc05"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1648 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1648}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2aa2a59d3935a2161b013e538967760f113678ddd6c7de6b42271f78e8f3d5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1690 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1690}}}],"partialFingerprints":{"codehealthFindingId/v1":"3251162f93645503c4c25d93b9a3c0a868390dcde6a42df2f5c0d9a377e18b95"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1726 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1726}}}],"partialFingerprints":{"codehealthFindingId/v1":"6692fd8cca3d37b0dbaadd445b9589fbca6f2efec130d37934a495e239c7e090"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1772 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1772}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c03b54ba092e0a6e0c27ed534a8f6b32e5157ec7cb601cdbf438952dd3028a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1808 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/channel.py"},"region":{"startLine":1808}}}],"partialFingerprints":{"codehealthFindingId/v1":"87335997c7a9d697c9879795d0c21be2d3b75465d463c47679a043b23486e941"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 92 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/terminal/terminal_channel.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"44332e3d9ad58a39619d4782eb3baeca9634839470cdad048b5b38bdbb3d1476"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 266 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/terminal/terminal_channel.py"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b52d41620ff972687a6a2355caa2c4826d0019b271c36c25d065dfaecc1eeba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 327 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/terminal/terminal_channel.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ba2e1e1694f9f135ceb63744c5b549b975549bddc0ca46a9329b310e5c4383"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 119 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"20277eea9ec65aa4361afa91ed9ba83d473609ad9bb6d7d27c0afbc3ae094f69"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 143 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b770398084876fd628809149024ee65e33bf219347df3f2f7fd92af41f8d0654"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 145 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f01bf9e9264aa0b5915f2da6ef7c5e1077cf2ecf3a4caf90a7284fbb95523b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 166 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e682b8ccfc6cf5ad82ae7e4a0819465d1d62bc1c58345553ae2cfad4c46ae37b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 179 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"a616d5277ae68483136b701d2beb5788aed1b75e591541cdae78256c6ee1ceb9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 181 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf7c0ea30dea40e3285db02ebdd840199b4c62c2d8029bc486f805cecd37f04"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 220 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c6dc73c04554248c4f772a88fafee46356f34dce6aee62a0ec8f41c567b3f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 246 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"34815050506fe0503b7cd41fc3e8d4aaf8555d5cf0b593fc79d3bc3315b6fe7b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 284 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b40eda098a9c2b910ae730088289b470938fd827e48160da4975c95f174465"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 286 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ea0b35c865516589a9c1db789b9e5f19eee86ade5bc6e579a10a83af3f5e4f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 314 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9fc7aed20645342ed3ef7e5a6dc6f91e5f8195284bf5b114227433d9fc3215"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 322 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee34816d436bd3fc7a920c7af9d3274ced3e6c684f627e5ff95f5bc49333fcd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 329 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b891ee37dfe94679826e1f29e2f2946dc9deba14f37368e3ee77160b1a20518"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 360 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"485dd91b7e3de8645422e4deb56d026801297a553dfb8c2d790f21e711ffa1d5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 365 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a4048205e216fd270376f17d4754200873c60e2161161d3253d27566487648"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 369 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23c54b84b5a3ea9d80cdeb60043ee04f1570bb22c5cb35e01b05a44f2e89ff5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 382 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9d5ccb691b30bae178ba6c6a4b0f5245c9e6b56b6921d0a0b3ba91b4fb8121"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 399 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ef5fd452f5e1cedb3fcbecec2ca1e496fbfa962f0989957d84f4e4a2375fd9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 402 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f97fa54810510fbb96111d62dd779e1f83ee0c34dcacf02cf742d6921ed85a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 466 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e7b8520de5ef18c0c5bd51c36e6427c4fed5e31367714ae5b8528f0880bd4d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 469 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9405268e157b44d2c2825692a882fa18d588d17bf19566bf3ae02628249db4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 605 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d95242117276061ac393f2fef7b4ba94c838fa5a42a194c91195da6c9b5b34"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 622 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bfc735a4d9ddd4ad4937735343b548d9a4c5d422e24feed39ae672d3925689"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 651 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"4866f4385405882d4b1a24e90aa980e083e1996d8c54d515bb7d3315505a9fea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 684 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"591961411d788609d9c33801ca99f520db52a53799d0b6be7b2d4a0abbee3ed5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 796 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c87701096a74b4e890de4840e98e9522f2c47ce9907beafbf784edfec0f278a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 813 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"510ebe60dd5a6e338d3fa22e1d3b24dd7f25f0bb81f0a5039cc90f1e7ad11518"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 816 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/telegram/telegram_channel.py"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"c168e458b93b5890afaada0d515a0ef46762be08b415ae24bde4138e04a97476"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 186 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"364e2fe588f7fdd60cd758ec4a7f9c44cf7bdc723cb067b0206847cda4feaa47"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 202 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"95cbcacb550c5c86b94491c9f9607fc8aee98c89beabdb13a63a3cf27c413e2e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 213 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"32601779abb6c7134e583cdbac1a99557657343910ae712041b2076e8f4b7a29"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 232 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db0c83df0775ba081812969661d196e802c22ec53c65fcac024a7d73759d015"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 247 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2e0d929414e0b5013dba46b158399aa4d319d5475290dc29df955fc799dbdc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 257 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86eb9fac7d9a1941ecce8ac47a0fb8b55b127cb58beb03c1b132250fbb5591d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 264 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"df32d1902428125b8f87646da4efd0a76a6461823d6cc6813236a8ab0c851264"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 325 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b4c76981fa20fbeca8b700638a6fc3c7b9d4cbd9e520c1c7dfd14d612d1505"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 384 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"d633b716b492a80a4b35029bacf6a6401da71ff3229e9783bd1a617a51264444"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 400 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2f1756cb43cf4375ad8a16685bcbc2dc2948d06ba5e9616ff56c9030749d20"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 402 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed45d0fc847af0e13bd7500b7a965b8d4a16ac58f234f35b92b09891b12c2cc0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 404 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a92c933d550412ad583112f5a980abdf340f6b4717213e46eece516e30e27f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 406 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2edc3ba6fce6cc147c81218505196c4648b176b63711e510c6ec1ca891e3d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 431 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef5a2baefe35142773a69b775687baca6a0713e8cfabf335436199cd3741c6e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 438 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56f09fa9b6da32bf4bedd84161cad8f224b81381953726afec034316b65531c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 480 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"47adaec9ff9877f3ea3d36dae98b0defa1b407706f961d36eae093b9d546e3a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 486 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a8329ff86f81131675dee1d44dd135f97fab22607c08f0e79e5c56e8d81818"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 497 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"469098b890f5f8b7a0d87bfb458c88917d650e7fc7eb9d6e1fef89d3585741ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 509 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"485ac9bbb8a204644b149919404ef5b289426ee5456371a097407c52f111984b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 593 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb27c44270a05d3a642f7998036efbeec51737eaab5dcb8734f262abdb8183f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 709 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"854cb051f77d2d0a5aee531099787ec61fc8f5d91431c79f1437573e99264a4a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 740 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1c110d92844f9e81088bd2ad5e66f0c73e85c40e2bd78e2f7c36062dab6535"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 750 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4890c81b29c810115ac5f5e97a319d905bde2f97dc989994387c84ac8efc13a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 755 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"d245ac77e24fb5c6ef14d0964f87310c4c20a9e8d174ff6c7ba69ec31d8e2833"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 762 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef306da5015b5dec03822bbf9e33ba4c49470c30a8e7bde4c1d30c7052d9239b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 775 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"4686b830f488e02944de7a4b1549a175a419c77a937f9ca9ce237a6556df47ee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 783 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4fbd136a407efd86f6095af77e44ee07db423df47bed93275631bd645f7a9ec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 803 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e96fc1355c50e6a2f06da8be8c77bcf538ddffaa0c3578d393fc2ea82531743"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 824 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab1bd02df4dcaf0cfefdc88857f0f5decb16d332a8c9b6ea5e8a999fa56abf8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 844 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5f767b74dbaf3043ba164f8168f7edfda1c3c45a8d6f29e123900346e5926c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 879 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9d5a6d4effe12532fe6e74abdbc9c2aa9d99423ea2d2fb7c3451cd950c8940"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 893 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc0d90ac52aec7456615ebb1056eb3b9a213c2f61b38db39874cb769a813fc0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 898 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"80de79b99132b37ab8e057a66bb9ac498a45181acf8d93b0eedc98f322b39e92"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 908 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"846ceb6550fcd2b3fbdbaf277c13b18c7b679c323a0ffc999976d7e1ab6eebc2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 934 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f126bc624779e81c18a48953a00b703205da5404898a37928f11d3c0daa7af"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 966 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d861fac439298167bc5e5faf4c70fb478c2d4c47dafe42dfc3a1b6c951dc841"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 999 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4403834fdaba1533ff7453a6b7af164e7036a1f0b95738f25140de169c0064"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1025 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"36166ad1e7c9f54ee3cf1b8b1959d4d840631a51e018ec67d70f253318e60768"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1052 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0503c47ba050fe6913c0e4e2e4f4064f3544873abf541c6db1278a67199e87b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1085 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"194e74f026462d75976d485de95c6f8241fea66a47d91e0b9d10f24c3b1242f8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1109 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02f7ee645a1c6fec8564aa4eca9e906f1376c97745b1e86cf1fe70a6c42389c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1277 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad0860f53024d9f4dc8077da171bc7fd0b329b857054b3a725cb320db8374a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1320 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5bcbb750c25a59a0c883065143446d7abc547e1163abe67f0352df55b94310"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1329 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9e5b99d971a1d13487884df6313b511d95408336d661cd630891c07450a0c4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1334 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1334}}}],"partialFingerprints":{"codehealthFindingId/v1":"991e5d5b58c7f00e5fb26362cbace439b528a1e0ccd8d9306a328af1e9b06b9f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1361 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b08a3a10e35408165971237ac2fd6ce03721648f7260753c7dfefe2e540b16b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1365 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"093f52375d8ee1277d4ca4ba9f52abae52abeb26656d09d1c38f0bbb52daf68d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1383 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1383}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b71a2cea1a1612806e1f93fd76741f7661951a49adc0b4029ce743fc8ede40f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1387 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c2857c1167390429a3a520efb0e846a36c4b4d006ace77a1c28771132bee98"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1651 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1651}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23a92e95610008934604bd9c26be31ff0c62d2a6e3bab43917c2e3cbb9bb17e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1694 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1694}}}],"partialFingerprints":{"codehealthFindingId/v1":"e842553f0ea502e4d0d2d73c8cc6a94791350719a2905bb2cf69d6b26ce19c20"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1703 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1703}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a68ded298dedd6ea641653107bfc178cff85c49ed5ef2005c1b56e4a99a439"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1708 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1708}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54999ba9c8b8804d2fae3b4e80a484a0e656b3702f06db243d719aa41ae1134"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1735 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1735}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81342216b1410ad7f6e34bf277af006a59fda8c88a406e34967106a5c793585"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1739 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1739}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ce495ab3194831eddc8eaf5089115f5c4a1aae3b14063a1e6c970be039d1c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1787 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1787}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd82864dc5f7cffa25442d4d22c47d373ea66e447a628d84e949eaf37390647"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1791 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1791}}}],"partialFingerprints":{"codehealthFindingId/v1":"f189f45e06606226e49ca6ca8e3273be7c930ac5f130003f9ff16843fdb322a2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1940 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1940}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e8af456bbc71e3b2230cc10ff254bb9d9e2678dd19b9119a5a9bdb57ed6b01"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1945 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1945}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af080a63fb66e68900828ba799782f5c880b561fd3119209c2a2b2493e92939"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1951 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1951}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7af0bb1e04a15b90a322128e0b16c79c9ff80102c3a66829c82cb0ada58c2e1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1956 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1956}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24043e3f5cfa45381be0cfb78895bec6f24aeb656cb593a26c9f49153db6a9e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1959 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1959}}}],"partialFingerprints":{"codehealthFindingId/v1":"2671073b07a51b9d8dfa562839580a22b76595cca803cfb19ef61eb72467ca76"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1972 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1972}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82de28e789456023ed390dd13479779d313e7c90991474411f671601209537c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1978 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1978}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7d4bb4497f2de1ef099f50841658dd5f2cb1acc2c692482751c0619813e256"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1991 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":1991}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a6f1286e559feb89cd8ff744df09623a11808cc93ea6231730046a6ef5c99d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2009 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2009}}}],"partialFingerprints":{"codehealthFindingId/v1":"a853f7c27994cdc56d7e625a77283eb2782b6e7a5b63b85bbae6001e24938b08"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2013 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2013}}}],"partialFingerprints":{"codehealthFindingId/v1":"8faec255efc5e46c7454e19f67ea11f27516eea30bdcd903a9a6157853cc210a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2042 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2042}}}],"partialFingerprints":{"codehealthFindingId/v1":"025f12d5d6ef6641c774547b63d76185904352e2b3f5c3ce4a8f8befdf53df05"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 2045 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2045}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4689de1ef76e1e8c68dae58867a516af2016f10ca792fd1f8f2e729244fda82"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 2051 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2051}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3e0e7b5a08d582c6d11a0a906cc53c997f2c1fa40ff0834d81da31e1af4907"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2072 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2072}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ebe30ae02979710b46de60df1da681da2e56893d088d53daf58da1790e997f2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2091 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2091}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f43c96904682740c291067d1df58be294713adc36e000e23030c0fbb33eef6c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2093 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2093}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7188e0b8a983c07fc3963b3f78f624a83068a8a9d99a111089a660626f44941"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2116 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bcecd4b9fa869d9ca898d65cc7ed10c714a27b67811c321b62c209e38dc10db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2126 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2126}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d3f9aff3939fe61d20a70c5422ba878c4ad04953a9f89929c99668a8210aa9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2134 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2134}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff50b581d25b2c08d31cb57c48ee05aa8447387ac4466d9182066ec302dd83a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2138 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f66387e1b162ea214c6fa3af127d9a0188de143e49b7725a1cded1df05ef906"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2142 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2142}}}],"partialFingerprints":{"codehealthFindingId/v1":"305dfbf3bb45b5ccade6095b11aa78dee2c82eb0dd6ef9433f7bbb08b305bfee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 2151 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2151}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf4cc0b8327e6c43f35298e55d653c19fe0ab01d2251fcef2bacee9f70141d8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2159 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2159}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef426ab2e044009e48e9e745340b55e37209dba52b8dbef54d304289cd3667e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2162 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2162}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed346128eb13920133a40526e99030d148f81f1e93447732d11555a3e84131e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2175 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2175}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fba16dfb18717af15ea17cc9efa0af5dc746a8abaffab3f4187c6dc8257f6ae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 2177 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2177}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd0b66f40ccda9b97023d710fb93264c1d9e5aa4f6273bdee11f438eac62760"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2194 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2194}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d4cfe880704d1217b97195310dae280c476756734f7a903550e83cd7b23c3f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2200 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2200}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1bed53c8eb8d5bd69b98b7e817710ffff080ae85481b8acc278fe48ab5c3c4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2203 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2203}}}],"partialFingerprints":{"codehealthFindingId/v1":"43846aa9c1a90bc9e8b122891f8c5fdedb9b142c5c5eb10ae28d4b0683710ff8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 2211 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2211}}}],"partialFingerprints":{"codehealthFindingId/v1":"655f2debf7e81f46ad0a54bf8f8c9c1d403cc734dc1ccb6d2471d9029853674a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2219 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2219}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d379c9f3628c477e2e0507c21cb7cfcea4b49e55bac946b19cd852d847decc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2224 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2224}}}],"partialFingerprints":{"codehealthFindingId/v1":"5844c95d71aef5bf4b54646d9455cb6c384533e9a16a44278414cfa74fa7b7ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2227 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2227}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01c79f78c3edf03f19ed23087c087096f3d90d2fdb9a1e779188e023125d096"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2260 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2260}}}],"partialFingerprints":{"codehealthFindingId/v1":"745d63fee94544c05dc5d3656c78ec55a4c51f9ebdc5446a2797fc7909f573dc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2267 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2267}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa52b12990070913dc20badeda243deb0ef3a558c8063d3abbb872dabee1db8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2270 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2270}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf3226d83b15b1d553b9fb2faf1674d1f289fba842b570eeef3ccf8513cd8ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2303 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2303}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db624f93f03fd7fbc21b38e630b504ef40ad8de4df1806a4e307b04d70a9b2c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2308 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2308}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcfbaa389753789624f43e996a825d0f6a98eb2945804f2b94fde2b758948fd5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2311 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2311}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b23f252bce7137cffc18544e8d24ab58e7e9caba0cd65d2ff9590e9f908eff0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2405 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_channel.py"},"region":{"startLine":2405}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b623f6b6d4de392dff897fdee1c8904d2d7337466df3a35462a5e36c34be227"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 201 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"2310d212a6c73cc0e2f34c4325afab715a4bf9a5019c6bc78808d5bf6e5cfcaa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 205 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"f262afda6c2dc0b89b68e14edaa842c51850b8c43c8ce8befedc74f52d1dbb66"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 274 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68777af87d349172af0da0d3a5cf3f3a391e3d21b07060ba56a05dca0bea0cb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 278 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db7e1649d4c4c896e04c82f4c5ebbeeb66705fdc5586b46ca2158d69a9c78dc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 304 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc82bfad114e735910b6fb54ea644750bfd7eeec2d9903c476cd69ec860d7ff0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 338 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e80c9e256648b8a70c8af875c680274604a4f5c1e8632ac7a561782b5214c80"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 341 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74a14a468c097073e83e4c30678fd2acc9446146c5cc76111997fdf5116fce2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 370 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6297d40ae8cba8931e155933304faf313be8c209b098b20f838fbd42b59ee2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 376 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"276780ab969a54ef7a92adafaa658e3912b8dc7b4237770def8d542ed1e4f634"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 379 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"8899df1f7c1973094396ea61060ad5c642555a54d50000d4d311e43ab1293660"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 382 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c130a669a8dd8e2529723d8a97e8490f72460aa350869e9165deff5fc06417"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 422 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f390b10918861490f41fe180c61769e11acad3bcb5aaebccd7b761d3b4d533"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 425 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ac0f9fc7f1f2259f0186dc485d504a8292f48b2b080c6e79b14bfced7b2efb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 428 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb288a509cda98a1ed55d9f1a687472d350780e57bfeea086c31b371634876a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 476 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc7b691f7df2e79359f178f1a41eda9ca6aa69acfe519ff55f4996049df4727"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 478 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"36dc0ef843f4410a14f8d22d4fff33ae7640a7dcfd02fac44589f06a4d8fad06"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 482 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06507320dae32f699fc4f3a21339a0809c30b64932888021e2ae1ebec01060b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 501 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"40524c3d83deb9a302235410e503291374c07fbc4089418fc42268f484cb52fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 504 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b20f89bc356fead5b786d6e5bb2dda795964a6eae807a2e4c6796a5cd4611d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 507 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"1744a0dbc5abc6b2b1092027ec454584bf50ce44d08c0df116ecc4d7d9e48839"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 555 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc49ff04b7b3f732537b979b86ae37c3090f806e24d30b95b8e855aa1a9e4cb6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 568 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"05358fdf1b40a69d255f3a9236adcffde253de50796e5bf89db182feb7cc64e1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 571 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd61171b3dd4314ea1ad4ea5df7875e90ee465fc82821ba82db1400dd27a1c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 633 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"be01e289fb7d92f348b299b3e6e0a2c3d1897b838be1535bd32bfd7a0ff8a416"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 636 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"0694cabac10de3746e8a7d19b507132b2adecce15b9c00ecff571ab012cb1fd8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 656 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2910c99ff19c0cfe1223810797432f829269174e8706682110cb425e8ef8b8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 672 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d37c725dd5a3f7b63c2f792008a2437f6f2cb9ae6faa0cf0fdebc2526c32572"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 685 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed1d552ba4b6f9a221e81ec6f92cef2040276d1cbd8bce80a940662ebb58679"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 721 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce6f2f47968eacce800ad7f41a4bb7fd3b0081b2766d7b3c2278f2723592353"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 730 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c3d300b479bbb38d126024733851d3ef084a820a301e04156b5c27ec52c90b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 732 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"48704eb8b32642538ba8d8cfc8a5d5a1bf1fb05e1a0a6a949fd9b7cbb585a181"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 752 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1fc2764aa661b5446c703736b59dca10c111477b33adca7f8650ba44bbe5c6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 801 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"af652af5aa0df0476122d46deabd41e4969ff8e0e1523f0e276632290adcf1ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 810 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c1421fe5d07a937c31c2b907bbbad6e5d5e99e6f2a0863f4413bda76464fe4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 812 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc59337247fdc6d9b30510f2bf41b78de9bf76bbd80ebdedf8ec6c39f99abae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 832 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd347e2446b4a15283c6d22833381dc9d6c2db01ec2adcf90b28a8600fef13b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 872 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"838ee88f1ff33fa859cc6651f7a6a4d2606ab56e63f9b8b1ad758ad0dbcbe327"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 880 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"248127a75c29230364185950c67f1c5f9a8e4d07c2115c56058ed0b4dbba2943"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 884 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cdafd7a477711656392865f370c8cc9d98ff504be2c699e463a2ab5d0e7447b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 900 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e86a35a270adc673c2358cb1cb91c0a2181b498519f553933d7c69bb121d92"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 912 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b007e2af47928a8d4532a58f0325da844925b815a81c0cc09025886f38f2b06"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 920 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bfaa471b4513629d28c56f848fe044531ce0a68f9453cc9af1bef7197a6385"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 974 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a78674de12c1e37e0f9109cc86dd80087888212ca9b9a6a5217332c1019df46"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 999 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"0685aa59a196141ad9bca8bee42b2cb864e4965df9eda28639692487a2145295"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1025 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"125e2684e4dfd28c861116455b49028fd4604c702edc50e398436464b7f0b822"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1053 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79797b531454951b8f27fa29dc0b4f96b7cb477b718b005c80ac8cce7f259ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1082 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"333e2fa9d3c615a1b6cb6e05548470f0589d2555ad1f384d5d9d3f446d6f81aa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1114 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50a83ad6a13f64777b76d6b0d9810db6e76f07bf3c4b99888a2b47288ffe337"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1116 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd659745fe3b690cbce042c82ad64df65d59651f06081bd696bd92f4b7aacb0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1124 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efe94e71eaeab3fde7a76b4e320a756d3849e9ffebcce08b34cd35c30bd98cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1139 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b92f491eab6650350ef84037dc04ea3002f5e2f246e8341b6df055c5d8d5097"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1143 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1e00aa0b799980e9d5eec16df79020bc694f814d9bf211c048f98da94dfdba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1183 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90780b27e1f909b970b1a2ffc2138336ea3699a208990da1d4013455dc66e15"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1194 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd00a7fa9201050bca8ac7d1c590680fa8f9d11dd5c94a0c35ce1902676df099"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1197 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"27467127f92627fab0214a0cb045341e133dbc9da5f8dc21e7d1cd5d04d54935"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1220 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/dingtalk/dingtalk_channel.py"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f6b1d5b66c6dc245f1e9706929222520ad4b4ec3a94826da0b297a150a1cd5"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~0.7 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 26 assertion(s) across the 39663 source line(s) of the 117 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: desktop/src/renderer/src/components/KnowledgeGraph.tsx (7), desktop/src/renderer/src/components/ContextUsagePopover.tsx (3), desktop/src/renderer/src/layout/SessionList.tsx (3). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d83a7c69636a6290f63000d5c19b2073be1fa772f51977532af9ca6f745fc2a"}},{"ruleId":"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 Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/web_fetch/web_fetch.py"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e278979050786207ae8a719163694a6a90e9f91b1bb55e442b45fca878cc75a"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 size=  class=\u0022animate-spin\u0022/\u003E\u0060 under \u0060checking\u0060, but \u0060checking\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":"desktop/src/renderer/src/layout/NavRail.tsx"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f0cc274d4d49470636503883fa209a31be2b52a147eae18b9448fd94eacd9b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_roster\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":"agent/chat/service.py"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"588600b3b67788bf337c35e5c10fcd7ac83e238bbdd3c6a86d348276ad9dc1e8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_speak_timeout\u0060 swallows every exception into \u0060return 600.0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/chat/service.py"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"3076e4b54326f885fd357174d07bbc13f326f2e8f4f0d9d080c8ad453f25b5d8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_builtin_skill_names\u0060 swallows every exception into \u0060return set()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/evolution/executor.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32bb3ef202c5962303b6db2eab08650b12637c2338bcffa5ef8dbe06c0f750b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_read_index_summaries\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":"agent/knowledge/service.py"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"7771b699925a14e12106f457fa841b7ed66c0ba2feb642bf88fe556c97f240a6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_author_of\u0060 returns \u0060\u0027\u0027\u0060 when \u0060ValueError\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/memory/conversation_store.py"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"118683249ee53b89a753d1eca8066bfa36dc5ef33adcb95315d04ee62cacbea0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_build_knowledge_section\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":"agent/prompt/builder.py"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a29149e2693455f25e61bc929474fa1fccdb0565eeef2dd7ee99c8150243e8a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_build_cloud_website_section\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":"agent/prompt/builder.py"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c98b76a8c424b95f8164a40d661c3e20ad34358462fd27b844bcd120f2e4e3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_cache_hit_tokens\u0060 returns \u00600\u0060 when \u0060(TypeError, ValueError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent_stream.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2565d1b0872810640fb76cd27463217860aaeb3c5be3d9963cbbb012f54fb3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_nonnegative_int\u0060 returns \u00600\u0060 when \u0060(TypeError, ValueError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/protocol/agent_stream.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2117e6f46a24025fc9b4a9e0edf971f45bfd6c9cb6e5e3976c163175983c9db"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_fallback_encoding\u0060 swallows every exception into \u0060return \u0027gbk\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/bash/decode.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08c2deeadc9bbfc2ad7689f99845da7eb643bc0570effaa02e2e25de88a0cb8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_take\u0060 (in \u0060effective_task_agent_id\u0060) swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/integration.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9537a53c2a71d8ea5ff53051dab09ce6a3aa27e7803b778c8c884cbbf9a489"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_load_unlocked\u0060 returns \u0060{}\u0060 when \u0060(OSError, ValueError, TypeError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/recipient_store.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5910d59918704f90028da57a99fa1838ba6253a7ecc6679465fd296eae32d9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_format_schedule_description\u0060 swallows every exception into \u0060return \u0027\u4E00\u6B21\u6027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/scheduler_tool.py"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"5baddfda8a4d6280155efd58afa5d3340610f83b342183bf5ab82e57feadf923"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_resolve_owner_agent_id\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/scheduler/scheduler_tool.py"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49eb60b0a2b8f1a3235385ce3fef01cd45e8ed23f221e993241bbf152bae54e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_relative\u0060 returns \u0060\u0027\u0027\u0060 when \u0060ValueError\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/utils/memory_path.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3864d2ab4b08e6570d118f15971c217fa5d31b78b8253bc1961a132485caec3e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_shared_knowledge_dir\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/utils/memory_path.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ff2b1f8b135f277ff96662316b86d236968a28d719410b3114e03946d870e6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_session_members\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":"bridge/agent_bridge.py"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"5070a0c13caf72dad93d474b08000516b5355104e2fcb0dcd29a1c64d984b11f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_delegation_timeout\u0060 swallows every exception into \u0060return 600.0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bridge/agent_bridge.py"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e2f8dd3bcf440f2af326725b5279617e2eff44045d3ef8be13646482d930ca"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_roster_speaker_labels\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":"bridge/agent_bridge.py"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c45d8f1082bf135c9c52f444ccee7e91c66208fd941c582703c1e0cbadcf0dc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_extract_quoted_text\u0060 returns \u0060\u0027\u0027\u0060 when \u0060(TypeError, ValueError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/feishu/feishu_message.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"24cd5d16c84678fa4ff3d2a64f88274b585991a3ddfa07b9e3f99028d5ef6a53"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_filename_from_url\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/qq/qq_channel.py"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"2377ff934f6cc9a5b00c187cf0cd7c3b88b21c20cfa297c6e920e2963cbeff99"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_lan_rank\u0060 returns \u0060-1\u0060 when \u0060ValueError\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/integrations.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"3324194517b7087f6de2e57f3b245bdd7f99ba52c87c47a63cc50e2bedcfdee5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_host_problem\u0060 returns \u0060\u0027invalid_host\u0027\u0060 when \u0060ValueError\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/integrations.py"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"7211d271a470f225522170d461b7d70f6b3dbed40e8379248162c3f14a8434da"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_infer_provider_from_model\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/models.py"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4f5587a2b4e49de6652f80edb238a0b4732e6ab94b721c1f1d7631174fa777"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060count\u0060 (in \u0060_openai_usage\u0060) returns \u00600\u0060 when \u0060(TypeError, ValueError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/openai_compat.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c437ff95597cdca2e28c16190b1968980f5f51abbb1df283d0bcca4e330f4fc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_paths_written_by_step\u0060 returns \u0060[]\u0060 when \u0060(ValueError, TypeError, AttributeError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/sessions.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9408b697c94831aa54c7e5bd583b17e0052df23c8e76b1fd02d641ded1c70a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_path_sent_by_step\u0060 returns \u0060\u0027\u0027\u0060 when \u0060(ValueError, TypeError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/api/sessions.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f0525399457e19f168736c636ac5200e53e73f34b61bd8185c9b90c7026aab"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_verify_auth_token\u0060 returns \u0060False\u0060 when \u0060ValueError\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/_common.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"e149009d078b84db1a577eb2d2651c32fca7fc4c8726b6ef7aab0405ac011d01"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_get_query_token\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/core/_common.py"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c59476d47d95a8f7ff11d852a87fe36fbfc2dc17feab75b5c492057f696285"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_expires_at\u0060 returns \u00600.0\u0060 when \u0060(TypeError, ValueError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/wechatcom/wechatcomapp_client.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c23ef5952828f2f32a18737eb9385f029bae91f3e8ef0bf7afd9093c8aead7c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_login_proxy\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/weixin/weixin_api.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"57cb0a90bef089d8cbe746efdbf3b1cfdb604ce2feaf94e140f81c52570cf493"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_read_config\u0060 returns \u0060{}\u0060 when \u0060(OSError, ValueError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/backup.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a175477fb98da4e20fff75364aae00de5d623dfff1a5788387168ff0e6cc739"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_get_installed_version\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/install.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f917c22847a5e4d5dfc3e93e86bcef0902b77d05a199eea2385ac83590757640"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_playwright_cli\u0060 swallows every exception into \u0060return 1\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":"cli/commands/install.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c0c5beefa795e96de2844a14373af1cc73e1cf5070738e913fcd867c5aa23c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_get_knowledge_enabled\u0060 swallows every exception into \u0060return True\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let 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":"cli/commands/knowledge.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c6049a8fe6ec2bdfc3f8baa221f44a6e73526bdc153fe8bc0b2ec9cc2ff948"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_resolve_github_default_branch\u0060 swallows every exception into \u0060return \u0027main\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/skill.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"16dbdf474886955822399ab182815eec97a39af8c2e744727414efe005c043f5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_read_skill_description\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/skill.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef2d919ed34ce899d74443a3721f6e0424e198185984343c8c3f131a550b4b9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_read_staged_config\u0060 returns \u0060{}\u0060 when \u0060(OSError, ValueError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/commands/skill.py"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e7f39f8d8244f5b7f02b1bd2bed1f304b3320c64304f1c00f8e996ee933303"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060load_config_json\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":"cli/utils.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"359c87aa449d572c454b34bb93b8013c75696de90aa2d5b76ab878be010f5456"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060get_cli_language\u0060 swallows every exception into \u0060return \u0027en\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/utils.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b904e9c3cadbbb7aa993d46d9b0ef0c86aae746db534bf477f80071ecf14e4c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060load_skills_config\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":"cli/utils.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bce48a3c512eb5a7bfc6c4f6c62d9a0015d3bdb5bcaadb0be17aaa7294c0ca3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_deployment_id\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/utils.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31a6882f9360d6283e44dde0c539b0d507f137e0dcee7d57fdd272d8644461e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_resolve_attribution_headers\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":"models/openai/openai_http_client.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"09be8e1801371703ecc2f48e03b740af569cf0678d79fc6e429149e2bd8a90f3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_host_of\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/openai/openai_http_client.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7ebd3726303d2758415a0bff42058df84dd62ffb93147c57347425f9cf9541"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_pixels_to_tier\u0060 swallows every exception into \u0060return \u00271K\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/image-generation/scripts/generate.py"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2ebc2ed1707c86a43b8c29e7ac03a0fc28cba1b676e4d64b3a779eb59c1865"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_renderSentFileFromToolResult\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/chat/render.js"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"77639d25ade851eae9b976838d15a691fa784e765cad408d492b9810cca29bfb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_loadNotifiedRunIds\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":"channel/web/static/js/core/notify.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"565273b67c8543071a6df2c6a3f2c391f29b2d7f0ead547c58f1cee4bf8a36d2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_artSrcPath\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/artifacts.js"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8fb4800686dd053d05d1f737ebe3eb90e7b5466cc48e22c683e952a24c05ba"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060domain\u0060 (in \u0060matchBasePreset\u0060) swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"channel/web/static/js/views/models.js"},"region":{"startLine":2273}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaeaff1cce25de93bae70f163346a658aaa0d8997fae2663c22c52e02dadc2b5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060skillListFiles\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":"channel/web/static/js/views/skills.js"},"region":{"startLine":1403}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4242aed8239a1a01cf0126c7aec129792825b76a4586c4b8aa2b7a47c96acb4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060appConfigEnv\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":"desktop/src/main/python-manager.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67dcf59e7e226d99014915f42ae2007487ab6e92e7a5100db444a71c6e663fd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readActiveSessionId\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/store/sessionOwners.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"916783fed6d2d4cc8178507bfd6a4183602ea97169c4286b9e166edf35f6d62a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseResult\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":"desktop/src/renderer/src/lib/handoff.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf484f26df5f1ba31d4acf48e2580a219e6f019eac451d659ff08a07382aae6d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060domainOf\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/renderer/src/components/ApiBasePresets.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f16708461937486f2420ba6d50a85196184f5395ab593ea003b572d81e88c04"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060fileInTurn\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":"desktop/src/renderer/src/components/ChatTimeline.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9297c6ab5867df7286630b2afa321675d3b553638cfe1827117edfa1ac61d1"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.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-295","guid":"a706c4e2-1232-8859-ae2e-17aa2d41f8e2","name":"Improper Certificate Validation","shortDescription":{"text":"Improper Certificate Validation"},"helpUri":"https://cwe.mitre.org/data/definitions/295.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-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"Use of a Broken or Risky Cryptographic Algorithm","shortDescription":{"text":"Use of a Broken or Risky Cryptographic Algorithm"},"helpUri":"https://cwe.mitre.org/data/definitions/327.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-457","guid":"b62874fe-6222-8b5b-8ade-9527ad1cbb4a","name":"CWE-457","shortDescription":{"text":"CWE-457"},"helpUri":"https://cwe.mitre.org/data/definitions/457.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-502","guid":"f7d3b296-aac0-5c5a-b706-e07faba26c36","name":"Deserialization of Untrusted Data","shortDescription":{"text":"Deserialization of Untrusted Data"},"helpUri":"https://cwe.mitre.org/data/definitions/502.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-527","guid":"79b27cde-9d04-1a54-b64b-d5bb9b4a8ee7","name":"CWE-527","shortDescription":{"text":"CWE-527"},"helpUri":"https://cwe.mitre.org/data/definitions/527.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-538","guid":"3baa1f05-df1b-ae58-9ee0-1d790ff4a989","name":"Insertion of Sensitive Information into Externally-Accessible File or Directory","shortDescription":{"text":"Insertion of Sensitive Information into Externally-Accessible File or Directory"},"helpUri":"https://cwe.mitre.org/data/definitions/538.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-611","guid":"1afbae66-ea29-2d59-aaa2-134e3ae2e85a","name":"Improper Restriction of XML External Entity Reference","shortDescription":{"text":"Improper Restriction of XML External Entity Reference"},"helpUri":"https://cwe.mitre.org/data/definitions/611.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-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-939","guid":"12397742-f2c4-8254-8012-482c3356c551","name":"CWE-939","shortDescription":{"text":"CWE-939"},"helpUri":"https://cwe.mitre.org/data/definitions/939.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_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-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-7","guid":"4c4af28d-49e3-2d51-b597-e1396c49658b","name":"Insecure System Configuration","shortDescription":{"text":"Insecure System Configuration"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-07-Insecure-System-Configuration"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":176,"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."]}]}